Re: unicode searches failing that use % and LIKE operators - Mailing list pgsql-general

From Benjamin Weaver
Subject Re: unicode searches failing that use % and LIKE operators
Date
Msg-id 20071022195840.1A1089E047@webmail222.herald.ox.ac.uk
Whole thread Raw
In response to Re: unicode searches failing that use % and LIKE operators  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: unicode searches failing that use % and LIKE operators  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: unicode searches failing that use % and LIKE operators  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-general
Tom,

Thanks.  I am running:

Postgres 8.1.4
server_encoding  UTF8
lc_collate en_GB.UTF-8
lc_ctype   en_GB.UTF-8

Ben

In message <19842.1193077201@sss.pgh.pa.us> Tom Lane <tgl@sss.pgh.pa.us>
writes:
> Benjamin Weaver <benjamin.weaver@classics.ox.ac.uk> writes:
> > I have the following problem:  a compound search, involving 2 wildcarded
> > character search terms, in which one search term consists of Latin
characters
> > and the other, of UTF-8 unicode Greek characters, fails.  This is strange,
> > because similar searches in which both terms are either unicode Greek or
Latin
> > characters succeed.
>
> That's pretty strange all right.  What PG version is this, what database
> encoding are you using, and what are the server's lc_collate and
> lc_ctype settings?
>
>             regards, tom lane

--
Benjamin Weaver
Faculty Research Associate, Imaging Papyri Projects, Herculaneum Society,
Oxford
email:  benjamin.weaver@classics.ox.ac.uk
phone:  (0)1865 610236


pgsql-general by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: Bitmap Heap scan 8.1/8.2
Next
From: Dave Page
Date:
Subject: Re: 8.2.3: Server crashes on Windows using Eclipse/Junit