Re: Locale implementation questions

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Locale implementation questions
Дата
Msg-id 87fysky7u2.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: Locale implementation questions  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Ответы Re: Locale implementation questions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tatsuo Ishii <t-ishii@sra.co.jp> writes:

> To be honest, I don't understand why we have to rely on (often broken)
> system locales. I don't think building our own locale data is too
> hard, and once we make up it, the maintenace cost will be very small
> since it should not be changed regularly. Moreover we could enjoy the
> benefit that PostgreSQL handles collations in a corret manner on any
> platform which PostgreSQL supports.

I think it's sheer madness to try to reproduce large swaths of the OS inside
Postgres because you're unhappy with the quality of the OS implementation. You
should be asking yourself why OS vendors have such a hard time getting this
stuff right and why would Postgres do any better. Wouldn't that work be better
spent improving the database functionality of Postgres?

Or at least better spent improving the locale support for the entire OS? It
would be positively awful if every application on my system had its own locale
database each of which had its own set of bugs and its own feature set.

-- 
greg



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Proof of concept COLLATE support with patch
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: Question about explain of index scan