postgresql/src/bin/initdb
Peter Eisentraut 37851a8b83 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
2022-02-14 08:27:26 +01:00
..
po Translation updates 2021-06-21 12:33:50 +02:00
t Replace Test::More plans with done_testing 2022-02-11 20:54:44 +01:00
.gitignore Move wchar.c and encnames.c to src/common/. 2020-01-16 15:58:55 -05:00
findtimezone.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
initdb.c Database-level collation version tracking 2022-02-14 08:27:26 +01:00
Makefile Update copyright for 2022 2022-01-07 19:04:57 -05:00
nls.mk Translation updates 2021-05-10 14:36:21 +02:00