On 14.06.23 23:24, Jeff Davis wrote:
> On Mon, 2023-06-12 at 23:04 +0200, Peter Eisentraut wrote:
>>> Patch 0003:
>>>
>>> Makes LOCALE apply to all providers. The overall feel after this
>>> patch
>>> is that "locale" now means the collation locale, and
>>> LC_COLLATE/LC_CTYPE are for the server environment. When using
>>> libc,
>>> LC_COLLATE and LC_CTYPE still work as they did before, but their
>>> relationship to database collation feels more like a special case
>>> of
>>> the libc provider. I believe most people favor this patch and I
>>> haven't
>>> seen recent objections.
>>
>> This seems reasonable.
>
> Attached a clean patch for this.
>
> It seems to have widespread agreement so I plan to commit to v16 soon.
>
> To clarify, this affects both initdb and CREATE DATABASE.
This looks good to me.
Attached is small fixup patch with some documentation tweaks and
simplifying some test code (also includes pgperltidy).