Re: using multiple sort orders in one database

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Antti Haapala <antti(dot)haapala(at)iki(dot)fi>
Cc: prime factory: Michael Jürgens <michael(dot)juergens(at)prime-factory(dot)de>, pgsql-admin(at)postgresql(dot)org
Subject: Re: using multiple sort orders in one database
Date: 2003-03-05 22:23:23
Message-ID: 200303052223.h25MNNR15867@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Antti Haapala wrote:
>
> On Thu, 20 Feb 2003, prime factory: Michael J?rgens wrote:
>
> > I have to a multilanguage website with postgres 7.3 as backend.
> > This website uses english, german, and turkey as languages, so I have to
> > use different sort orders in my queries.
> >
> > So far I understood the docs, I have to set the correct language
> > settings when executing initdb.
> >
> > But how can I support 3 different languages?
>
> Someone asked that a day or two ago. The problem is that support for
> multiple locales hasn't been done yet. Until that the simplest way is
> probably to sort in your client app.

You can have separate languages for each database, but not in the same
database. You are probably best using unicode and having the client
deal with it --- at least that is my guess.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message P G 2003-03-06 00:17:36 Where are the current install instructions?
Previous Message Steve Crawford 2003-03-05 20:18:08 Re: Followup Re: Performance question