Re: Proof of concept COLLATE support with patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Proof of concept COLLATE support with patch
Date
Msg-id 9398.1125875721@sss.pgh.pa.us
Whole thread Raw
In response to Re: Proof of concept COLLATE support with patch  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> I think it would be best if we defined an internal API for plugging in 
> various kinds of locale support.

Agreed ...

> Then you can hook in this 
> "newlocale", the Windows variant, ICU, or plain-old POSIX locale 
> support for backward compatibility.

If plain old POSIX actually did what we needed, we likely wouldn't be
having this discussion at all.  POSIX doesn't give us enough visibility
of the locale's properties (in particular, which character set encoding
it wants).  The performance penalties it imposes are pretty bad also,
though arguably secondary.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Question about explain of index scan
Next
From: Tom Lane
Date:
Subject: Re: Locale implementation questions