Re: UTF-8 and LIKE vs = - Mailing list pgsql-general

From David Wheeler
Subject Re: UTF-8 and LIKE vs =
Date
Msg-id FBD650D1-FAE2-11D8-A2D5-000393D9369E@kineticode.com
Whole thread Raw
In response to Re: UTF-8 and LIKE vs =  (Joel <rees@ddcom.co.jp>)
Responses Re: UTF-8 and LIKE vs =
List pgsql-general
On Aug 27, 2004, at 5:27 AM, Joel wrote:

> I would expect to run into problems with collation. In that case, you
> may end up setting up separate databases for each language, as I
> mentioned before in the mail that I forgot to post to the list so
> people
> could correct me if I'm wrong.

As far as I know, collation is essentially how an index is ordered,
correct? So that when I so an "ORDER BY" query, the order in which the
rows are returned is determined by the collation. Is that correct?

If so, then I'm happy with the 80% solution of defaulting to Unicode
ordering (or "Unicodabetical").

> Other than that, it depends on what functions the database will have.
>
> If what is being done with the CJKT is pretty basic stuff, I may be
> just
> another too-pessimistic voice.

Frankly, I'm more concerned with the ability of queries to work than I
am of ordering results. Ordering is strictly secondary.

Regards,

David


pgsql-general by date:

Previous
From: Benjamin Smith
Date:
Subject: Conditional foreign key?
Next
From: Michael Glaesemann
Date:
Subject: Re: UTF-8 and LIKE vs =