git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 9898c5e) | patch
Database-level collation version tracking
2022年2月14日 07:09:04 +0000 (08:09 +0100)
2022年2月14日 07:27:26 +0000 (08:27 +0100)
commit 37851a8b83d3d57ca48736093b10aa5f3bc0c177
Database-level collation version tracking

This adds to database objects the same version tracking that collation
objects have. There is a new pg_database column datcollversion that
stores the version, a new function
pg_database_collation_actual_version() to get the version from the
operating system, and a new subcommand ALTER DATABASE ... REFRESH
COLLATION VERSION.

This was not originally added together with pg_collation.collversion,
since originally version tracking was only supported for ICU, and ICU
on a database-level is not currently supported. But we now have
version tracking for glibc (since PG13), FreeBSD (since PG14), and
Windows (since PG13), so this is useful to have now.

Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/f0ff3190-29a3-5b39-a179-fa32eee57db6%40enterprisedb.com
22 files changed:
doc/src/sgml/catalogs.sgml diff | blob | blame | history
doc/src/sgml/func.sgml diff | blob | blame | history
doc/src/sgml/ref/alter_collation.sgml diff | blob | blame | history
doc/src/sgml/ref/alter_database.sgml diff | blob | blame | history
doc/src/sgml/ref/create_database.sgml diff | blob | blame | history
src/backend/commands/dbcommands.c diff | blob | blame | history
src/backend/parser/gram.y diff | blob | blame | history
src/backend/tcop/utility.c diff | blob | blame | history
src/backend/utils/init/postinit.c diff | blob | blame | history
src/bin/initdb/initdb.c diff | blob | blame | history
src/bin/pg_dump/pg_dump.c diff | blob | blame | history
src/bin/psql/tab-complete.c diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/catalog/pg_database.h diff | blob | blame | history
src/include/catalog/pg_proc.dat diff | blob | blame | history
src/include/commands/dbcommands.h diff | blob | blame | history
src/include/nodes/nodes.h diff | blob | blame | history
src/include/nodes/parsenodes.h diff | blob | blame | history
src/test/regress/expected/collate.icu.utf8.out diff | blob | blame | history
src/test/regress/expected/collate.linux.utf8.out diff | blob | blame | history
src/test/regress/sql/collate.icu.utf8.sql diff | blob | blame | history
src/test/regress/sql/collate.linux.utf8.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /