On Fri, 2023-02-10 at 07:42 +0100, Peter Eisentraut wrote: > It turns out that 'de_AT' is actually a distinct collation from 'de' > in > CLDR, so that was not the best example. What behavior do you see for > 'de_CH'?
The canonicalized form is de_CH and the bcp47 tag is de-CH. uloc_canonicalize() and uloc_getLanguageTag() are declared in uloc.h, and they aren't (as far as I can tell) tied to which collations are actually defined. -- Jeff Davis PostgreSQL Contributor Team - AWS