Re: WIP patch: Collation support

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: WIP patch: Collation support
Дата
Msg-id 48D8C5C6.7010708@enterprisedb.com
обсуждение исходный текст
Ответ на Re: WIP patch: Collation support  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: WIP patch: Collation support
Список pgsql-hackers
Martijn van Oosterhout wrote:
> On Mon, Sep 22, 2008 at 10:22:35AM +0300, Heikki Linnakangas wrote:
>> BTW, the original patch didn't have any provision for creating rows in 
>> pg_collation reflecting the locales available in the OS, but I think 
>> we'd need that. Otherwise the DBA would need to manually run CREATE 
>> COLLATION for every collation they want users to be able to use. 
>> Assuming we do that, the situation that we can't find a row with given 
>> LC_COLLATE and LC_CTYPE should not arise in practice.
> 
> You're assuming collations are denumerable. They're not. There is no way
> to find the list of available collations/locales. You may be able to
> guess a few but certainly not all of them.

"locale -a" manages to do it somehow...

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: WIP patch: Collation support
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: WIP patch: Collation support