| From: | Magnus Hagander <magnus(at)hagander(dot)net> |
|---|---|
| To: | Petr Jelinek <pjmodos(at)pjmodos(dot)net> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: WIP patch: Collation support |
| Date: | 2008-09-24 05:40:03 |
| Message-ID: | 48D9D2B3.3090608@hagander.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Magnus Hagander | 2008-09-24 05:58:27 | Re: [HACKERS] 0x1A in control file on Windows |
| Previous Message | Jeff Davis | 2008-09-24 05:24:33 | Re: Common Table Expressions (WITH RECURSIVE) patch |