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

From Magnus Hagander
Subject Re: WIP patch: Collation support
Date
Msg-id 48D9D2B3.3090608@hagander.net
Whole thread Raw
In response to Re: WIP patch: Collation support  (Petr Jelinek <pjmodos@pjmodos.net>)
List pgsql-hackers
Petr Jelinek wrote:
> 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.

Ha, right. We even use it in the installer :-)
Bottom line remains: we can easily do this in a Windows-specific way if
we need to.

//Magnus


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Common Table Expressions (WITH RECURSIVE) patch
Next
From: Magnus Hagander
Date:
Subject: Re: 0x1A in control file on Windows