On 05/09/2018 23:18, Thomas Munro wrote: > On Wed, Sep 5, 2018 at 12:10 PM Christoph Berg <m...@debian.org> wrote: >>> So, it's not ideal but perhaps worth considering on the grounds that >>> it's better than nothing? >> >> Ack. > > Ok, here's a little patch like that. > > postgres=# select collname, collcollate, collversion from pg_collation > where collname = 'en_NZ'; > collname | collcollate | collversion > ----------+-------------+------------- > en_NZ | en_NZ.utf8 | 2.24 > (1 row)
But wouldn't that also have the effect that glibc updates that don't change anything about the locales would trigger the version incompatibility warning? Also, note that this mechanism only applies to collation objects, not to database-global locales. So most users wouldn't be helped by this approach. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services