Re: WIP patch: Collation support - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WIP patch: Collation support
Date
Msg-id 25529.1222173506@sss.pgh.pa.us
Whole thread Raw
In response to Re: WIP patch: Collation support  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: WIP patch: Collation support  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Proposal: move column defaults into pg_attribute along with attacl
Next
From: Tom Lane
Date:
Subject: Re: Common Table Expressions (WITH RECURSIVE) patch