From: | Christophe Labouisse <labouiss(at)cybercable(dot)fr> |
---|---|
To: | pgsql-sql(at)postgreSQL(dot)org |
Subject: | Re: [SQL] Strange behavior |
Date: | 1999-04-27 06:03:03 |
Message-ID: | m3eml6ob1k.fsf@gabuzo.meunet |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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).
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 167 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Nuchanard Chiannilkulchai | 1999-04-27 08:15:35 | Re: [SQL] substring |
Previous Message | Tom Lane | 1999-04-26 21:23:54 | Re: [SQL] Strange behavior |