Re: Locale implementation questions - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Locale implementation questions
Date
Msg-id 87fysky7u2.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: Locale implementation questions  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: Locale implementation questions
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Proof of concept COLLATE support with patch
Next
From: Hannu Krosing
Date:
Subject: Re: Question about explain of index scan