Re: Unicode + LC_COLLATE

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Priem, Alexander" <ap(at)cict(dot)nl>, 'Tom Lane' <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Unicode + LC_COLLATE
Date: 2004-04-23 10:06:12
Message-ID: 200404231206.12873.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Am Donnerstag, 22. April 2004 16:37 schrieb Priem, Alexander:
> But if you use anything other than C, you can't use indexes in
> Like-clauses, right?

No, see <http://www.postgresql.org/docs/7.4/static/indexes-opclass.html>.

> Would lc-collate=C be bad in combination with UNICODE encoding? What
> lc-collate setting would you recommend for UNICODE encoding which will
> provide good sorting for all (most) common languages? (dutch, english,
> french, german)

That is currently not supported at all by PostgreSQL. You would need to use a
single-byte encoding.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message mike 2004-04-23 10:36:51 Question about inserts
Previous Message Dragan Matic 2004-04-23 09:35:47 Case insensitive search