Re: Windows default locale vs initdb - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Windows default locale vs initdb
Date
Msg-id db3112ab-6ff5-9776-9689-d5e642f02df0@enterprisedb.com
Whole thread Raw
In response to Windows default locale vs initdb  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
On 19.04.21 07:42, Thomas Munro wrote:
> It looks
> like one possibility, since Vista, is to call
> GetUserDefaultLocaleName()[2], which doesn't appear to have been
> discussed before on this list.  That doesn't allow you to ask for the
> default for each individual category, but I don't know if that is even
> a concept for Windows user settings.

pg_newlocale_from_collation() doesn't support collcollate != collctype 
on Windows anyway, so that wouldn't be an issue.



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Bogus collation version recording in recordMultipleDependencies
Next
From: Mark Dilger
Date:
Subject: Re: multi-install PostgresNode fails with older postgres versions