From: Christophe Labouisse <labouiss@cybercable.fr>
To: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Strange behavior
Date: 27 Apr 1999 08:03:03 +0200
Message-ID: <m3eml6ob1k.fsf@gabuzo.meunet> (raw)
References: <4450.925161834@sss.pgh.pa.us>
Tom Lane <tgl@sss.pgh.pa.us> writes:
> > select crit_url from crit where crit_url like 'films/%' order by crit_url;
> > [ gives wrong results, whereas this gives right results: ]
> > select crit_url from crit where crit_url like '%films/%' order by crit_url;
>
> What locale and/or MULTIBYTE setting are you using?
fr_FR
>
> There is a hack in the parser that tries to transform the first of these
> into this:
>
> select crit_url from crit where crit_url like 'films/%'
> AND crit_url >= 'films/' AND crit_url <= 'films/\377'
> order by crit_url;
Well I guess that's it since \377 in fr_FR is ÿ (ydierisis).
Christophe Labouisse : Cinéma, typographie, Unix
christophe.labouisse@dial.oleane.com http://www.multimania.com/gabuzo/
Le cinéma en Lumière : http://www.lumiere.org/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: labouiss@cybercable.fr
Subject: Re: [SQL] Strange behavior
In-Reply-To: <m3eml6ob1k.fsf@gabuzo.meunet>
References: <4450.925161834@sss.pgh.pa.us> <m3eml6ob1k.fsf@gabuzo.meunet>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox