pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
using multiple sort orders in one database
4+ messages / 3 participants
[nested] [flat]

* using multiple sort orders in one database
@ 2003-02-20 09:09  prime factory: Michael Jürgens <michael.juergens@prime-factory.de>
  0 siblings, 0 replies; 4+ messages in thread

From: prime factory: Michael Jürgens @ 2003-02-20 09:09 UTC (permalink / raw)
  To: pgsql-admin

Hi,

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?

Best regards,

Michael





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* using multiple sort orders in one database
@ 2003-02-20 17:00  prime factory: Michael Jürgens <michael.juergens@prime-factory.de>
  0 siblings, 1 reply; 4+ messages in thread

From: prime factory: Michael Jürgens @ 2003-02-20 17:00 UTC (permalink / raw)
  To: pgsql-admin

Hi,

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?

Best regards,

Michael






^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: using multiple sort orders in one database
@ 2003-02-20 18:50  Antti Haapala <antti.haapala@iki.fi>
  parent: prime factory: Michael Jürgens <michael.juergens@prime-factory.de>
  0 siblings, 1 reply; 4+ messages in thread

From: Antti Haapala @ 2003-02-20 18:50 UTC (permalink / raw)
  To: prime factory: Michael Jürgens <michael.juergens@prime-factory.de>; +Cc: pgsql-admin


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.

-- 
Antti Haapala




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: using multiple sort orders in one database
@ 2003-03-05 22:23  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: Antti Haapala <antti.haapala@iki.fi>
  0 siblings, 0 replies; 4+ messages in thread

From: Bruce Momjian @ 2003-03-05 22:23 UTC (permalink / raw)
  To: Antti Haapala <antti.haapala@iki.fi>; +Cc: prime factory: Michael Jürgens <michael.juergens@prime-factory.de>; 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@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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2003-03-05 22:23 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-02-20 09:09 using multiple sort orders in one database prime factory: Michael Jürgens <michael.juergens@prime-factory.de>
2003-02-20 17:00 using multiple sort orders in one database prime factory: Michael Jürgens <michael.juergens@prime-factory.de>
2003-02-20 18:50 ` Antti Haapala <antti.haapala@iki.fi>
2003-03-05 22:23   ` Bruce Momjian <pgman@candle.pha.pa.us>

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