Re: How support more native locale in one cluster?

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How support more native locale in one cluster?
Date: 2008-07-23 22:18:53
Message-ID: 20080723221853.GE3882@merkur.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jul 23, 2008 at 11:49:38PM +0200, Michal Seidl wrote:

> Hi, I can not figure out how to solve the problem with LOCALE. Example:
> - 3 tables, each of them with a text or varchar column.
> - The first table with text in German
> - The second table with text in Czech
> - the third one with text in English
>
> How to force Postgre to use correct locale for ORDER BY, LIKE etc
> according to language used in table?

Unfortunately the answer so far is to either write it
yourself or get someone to write it. PostgreSQL currently
doesn't support this.

Depending on your exact requirements there is some leverage
to be had with judicious use and combination of
cluster/database locale/encoding, text_pattern_ops,
functional indexes and such matters.

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2008-07-23 22:19:23 Re: How support more native locale in one cluster?
Previous Message Michal Seidl 2008-07-23 21:49:38 How support more native locale in one cluster?