From: Christophe Labouisse <labouiss@cybercable.fr>
To: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] Strange behavior
Date: 27 Apr 1999 20:35:43 +0200
Message-ID: <m34sm16hds.fsf@gabuzo.meunet> (raw)
References: <8381.925223461@sss.pgh.pa.us>
Tom Lane <tgl@sss.pgh.pa.us> writes:
> > Well I guess that's it since \377 in fr_FR is ÿ (ydierisis).
>
> And I suppose that sorts before, or the same as, plain y? Oops.
Yep.
>
> As a temporary measure you could rebuild with USE_LOCALE turned on;
> the parser code is set up not to generate the <= clause if that's
> defined. But we need a better solution.
Hmm that's strange I though I compiled already with locale
enabled. Here is the configure line from config.status :
# ./configure --with-tcl --with-perl --with-odbc --with-CC=/opt/pgcc/bin/gcc --
with-CXX=/opt/pgcc/bin/g++ --enable-locale
That's should be good no ?
Anyway I'll check it again. Anyway I think that even without locale
this optimization can lead to incorrect result if you have a a field
starting with \377.
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: <m34sm16hds.fsf@gabuzo.meunet>
References: <8381.925223461@sss.pgh.pa.us> <m34sm16hds.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