File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 22
33New in 8.3 version:
44
5+ * postgresql-setup prints warning about possible glibc collation on
6+ successful upgrade.
7+
58* postgresql-setup creates correct 'log_directory' based on PG version
69 (the default changed from $datadir/pg_log to $datadir/log in v10).
710
Original file line number Diff line number Diff line change @@ -121,6 +121,14 @@ Environment:
121121 PGSETUP_DEBUG Set to '1' if you want to see very verbose shell
122122 debugging output."
123123
124+ # Warning about possible glibc collation changes BZ#1668301
125+ GLIBC_COLLATION_WARN_STRING=" \
126+ WARNING: If you've just upgraded your database from a previous major
127+ version of Fedora or RHEL, please run reindexdb against your databases.
128+ Core library collation data may have changed and this will invalidate
129+ database indexes. For example, in Fedora 28 and RHEL 8 there have been
130+ extensive changes in glibc collations to support ISO 14651:2016 (Unicode
131+ 9.0.0 data) and your indexes may be affected: https://sourceware.org/ml/libc-announce/2018/msg00002.html"
124132
125133print_version ()
126134{
@@ -343,6 +351,8 @@ upgrade()
343351 warn $" The configuration files were replaced by default configuration."
344352 warn $" The previous configuration and data are stored in folder"
345353 warn $pgdataold .
354+ # Warn about possible glibc collation changes on success BZ#1668301
355+ warn " $GLIBC_COLLATION_WARN_STRING "
346356 else
347357 # Clean up after failure.
348358 $failure_cleanup && rm -rf " $pgdata "
You can’t perform that action at this time.
0 commit comments