Re: Progress report on locale safe LIKE indexing

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Progress report on locale safe LIKE indexing
Date: 2001-08-19 12:31:27
Message-ID: Pine.LNX.4.30.0108191427140.677-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane writes:

> But the LIKE code does know about multibyte character sets. Is it safe
> to assume that memcmp-based sorting will not make any mistakes with
> multibyte characters?

Remember that this memcmp-based sorting is the same sorting that texteq
will do when locale is turned off. So if there were a problem it would
already exist, but I'm sure there isn't one.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Karel Zak 2001-08-19 12:46:58 Re: encoding names
Previous Message Peter Eisentraut 2001-08-19 11:16:34 RE: Progress report on locale safe LIKE indexing