Re: unicode searches failing that use % and LIKE operators

From: Benjamin Weaver <benjamin(dot)weaver(at)classics(dot)ox(dot)ac(dot)uk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: unicode searches failing that use % and LIKE operators
Date: 2007-10-22 19:58:40
Message-ID: 20071022195840.1A1089E047@webmail222.herald.ox.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)1193077201(at)sss(dot)pgh(dot)pa(dot)us> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
writes:
> Benjamin Weaver <benjamin(dot)weaver(at)classics(dot)ox(dot)ac(dot)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(dot)weaver(at)classics(dot)ox(dot)ac(dot)uk
phone: (0)1865 610236

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dave Page 2007-10-22 20:00:31 Re: 8.2.3: Server crashes on Windows using Eclipse/Junit
Previous Message Pavel Stehule 2007-10-22 19:51:58 Re: Bitmap Heap scan 8.1/8.2