From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: suitable text search configuration |
Date: | 2007-10-25 01:56:54 |
Message-ID: | 20071025015654.GC4626@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> > ... oh, I see there's a table in initdb.c
>
> > Are we supposed to add entries to it, one for each country? I'm
> > wondering if we should try to match the part before the _ using just the
> > language, if the complete match fails. (i.e. match "es_CL" using just
> > "es", "fr_CA" using just "fr", etc).
>
> Actually, looking at the examples so far, I'm thinking we should just
> consider the string up to the first _, period.
I found that there is an ISO spec for "cultural elements", ISO/IEC
15897, a working draft for which can be found at
http://www.open-std.org/jtc1/sc22/open/n3586.pdf
Chapter 13 talks about naming of locales.
I think glibc is supposed to follow this standard.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-10-25 04:31:17 | Re: second DML operation fails with updatable cursor |
Previous Message | Bruce Momjian | 2007-10-25 00:55:08 | Re: second DML operation fails with updatable cursor |