pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Antti Haapala <antti.haapala@iki.fi>
Cc: prime factory: Michael Jürgens <michael.juergens@prime-factory.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: using multiple sort orders in one database
Date: Wed, 5 Mar 2003 17:23:23 -0500 (EST)
Message-ID: <200303052223.h25MNNR15867@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.GSO.4.44.0302202036020.29501-100000@paju.oulu.fi>

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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (4+ messages)

Message-ID: <200303052223.h25MNNR15867@candle.pha.pa.us>
Permalink:  ../200303052223.h25MNNR15867@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200303052223.h25MNNR15867@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: pgman@candle.pha.pa.us, antti.haapala@iki.fi, michael.juergens@prime-factory.de
  Subject: Re: using multiple sort orders in one database
  In-Reply-To: <200303052223.h25MNNR15867@candle.pha.pa.us>
  References: <Pine.GSO.4.44.0302202036020.29501-100000@paju.oulu.fi> <200303052223.h25MNNR15867@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox