Re: WIP patch: Collation support - Mailing list pgsql-hackers

From Petr Jelinek
Subject Re: WIP patch: Collation support
Date
Msg-id 48D9CDB7.50004@pjmodos.net
Whole thread Raw
In response to Re: WIP patch: Collation support  (Magnus Hagander <magnus@hagander.net>)
Responses Re: WIP patch: Collation support  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander wrote:
>> exec("locale -a") ...
>>
>> I suppose we'd need something else for Windows, but I'm sure there's
>> a way.
> 
> IIRC, the data is in the registry. Should be enumerable somehow - we'll
> have to do it platform specific of course, but it's not the first time
> we'd do that for windows...
> 

There is EnumSystemLocales API function in Windows.

-- 
Regards
Petr Jelinek (PJMODOS)


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: parallel pg_restore
Next
From: Jeff Davis
Date:
Subject: Re: Common Table Expressions (WITH RECURSIVE) patch