File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
New in 8.3 version:
4
4
5
+ * postgresql-setup prints warning about possible glibc collation on
6
+ successful upgrade.
7
+
5
8
* postgresql-setup creates correct 'log_directory' based on PG version
6
9
(the default changed from $datadir/pg_log to $datadir/log in v10).
7
10
Original file line number Diff line number Diff line change @@ -121,6 +121,14 @@ Environment:
121
121
PGSETUP_DEBUG Set to '1' if you want to see very verbose shell
122
122
debugging output."
123
123
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"
124
132
125
133
print_version ()
126
134
{
@@ -343,6 +351,8 @@ upgrade()
343
351
warn $" The configuration files were replaced by default configuration."
344
352
warn $" The previous configuration and data are stored in folder"
345
353
warn $pgdataold .
354
+ # Warn about possible glibc collation changes on success BZ#1668301
355
+ warn " $GLIBC_COLLATION_WARN_STRING "
346
356
else
347
357
# Clean up after failure.
348
358
$failure_cleanup && rm -rf " $pgdata "
You can’t perform that action at this time.
0 commit comments