From: | Hannu Krosing <hannu(at)tm(dot)ee> |
---|---|
To: | Tim Uckun <tim(at)diligence(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
Subject: | Re: Creating locales. |
Date: | 2000-12-30 11:43:30 |
Message-ID: | 3A4DCA62.504066F1@tm.ee |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-interfaces |
Tim Uckun wrote:
>
> I have been searching without luck on a howto on how to create locales for
> postgres. Could somebody please point me in the general direction? Thanks.
>
PostgreSQL uses system locales (even to the extent that I was unable to
get
it use any other locale by setting LC_* variables in
/etc/init.d/rc.d/postgres)
I did have to modify my locale (et_EE) to _not_ group \xff (ÿaut;)
with
other y-s but to sort it after all other "standard" chars to work
properly
with LIKE optimisations. Perhaps the right approach would be to leave
\xff
alone and to choose some character in the 128-159 range for
bigger-than-any-other-char but as \xff is not used in estonian i was
able
to do away with just moving it.
OTOH, it may be a good idea to start a repository for locales that are
specifilally modified to work well with postgres.
We may want to move the locale stuff inside the backend someday as
mandated
by SQL standards and then some work would be already done.
--------
Hannu
From | Date | Subject | |
---|---|---|---|
Next Message | Brent Verner | 2000-12-30 14:00:09 | oid failures on Alpha solved |
Previous Message | Oleg Bartunov | 2000-12-30 09:34:19 | Re: Creating locales. |
From | Date | Subject | |
---|---|---|---|
Next Message | Byron Nikolaidis | 2000-12-30 15:43:55 | Re: Access 2000 & postgres ODBC-driver: "ODBC error" |
Previous Message | Oleg Bartunov | 2000-12-30 09:34:19 | Re: Creating locales. |