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/