public inbox for [email protected]
help / color / mirror / Atom feedFrom: [email protected]
To: [email protected]
Subject: Collation changes
Date: Sat, 30 May 2026 21:41:56 +0200
Message-ID: <[email protected]> (raw)
Hello,
I thought I had understood the problems with libc collation changes, but today a Fedora update showed me, that I probably did not :)
After refreshing the encodings for the databases (and reindexing) I thought I'd have a look at the versions in pg_collation using the following query:
select collname,
collversion,
pg_encoding_to_char(collencoding) as encoding,
pg_collation_actual_version(oid)
from pg_collation
where collprovider = 'c'
and collversion <> pg_collation_actual_version(oid)
The query returned several hundred collations, all with a non UTF-8 encoding (mostly single byte encodings).
Running "alter collation ... refresh version" on them resulted in
NOTICE: version has not changed
Which confuses me, as the above query showed collversion = 2.41 and pg_collation_actual_version() returned 2.43
Can someone clear up my confusion?
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Collation changes
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox