Re: Move defaults toward ICU in 16?
Jeff Davis <pgsql@j-davis.com>
From: Jeff Davis <pgsql@j-davis.com>
To: Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Thomas Munro <thomas.munro@gmail.com>, Robert Haas <robertmhaas@gmail.com>, pgsql-hackers@postgresql.org
Date: 2023-02-17T18:00:41Z
Lists: pgsql-hackers
On Fri, 2023-02-17 at 09:05 -0800, Andres Freund wrote: > > Thinking about this more, it's not clear to me if this would be in > > scope for pg_upgrade or not. > > I don't think we should consider changing the default collation > provider > without making this more seamless, one way or another. I guess I'm fine hacking pg_upgrade, but I think I'd like to make it conditional on this specific case: only perform the fixup if the old cluster is 15 or earlier and using libc and the newer cluster is 16 or later and using icu. There's already a check that the new cluster is empty, so I think it's safe to hack the pg_database locale fields. Regards, Jeff Davis >
Commits
-
Build ICU support by default.
- fcb21b3acdcb 16.0 landed
-
Use ICU by default at initdb time.
- 27b62377b47f 16.0 landed
-
pg_upgrade: copy locale and encoding information to new cluster.
- 9637badd9f92 16.0 landed