Re: WIP patch: Collation support

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: WIP patch: Collation support
Дата
Msg-id 48D8EEBA.5000705@hagander.net
обсуждение исходный текст
Ответ на Re: WIP patch: Collation support  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: WIP patch: Collation support
Список pgsql-hackers
Tom Lane wrote:
> Martijn van Oosterhout <kleptog@svana.org> writes:
>> On Tue, Sep 23, 2008 at 01:32:38PM +0300, Heikki Linnakangas wrote:
>>> "locale -a" manages to do it somehow...
> 
>> Sure, by (on glibc) opening the binary archive and parsing it and then
>> trying to reverse lookup the alias list. We could ofcourse program
>> something for each platform to determine a list but who is going to
>> maintain that? How do you handle the list changing?
> 
> 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...

//Magnus


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Planner question
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Initial prefetch performance testing