Re: [SQL] Strange behavior

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [SQL] Strange behavior
Дата
Msg-id 199905101633.MAA07295@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] Strange behavior  (Christophe Labouisse <labouiss@cybercable.fr>)
Список pgsql-sql
Can someone comment on this?


[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> 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.
> 

[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> 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/


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] Simple Optimization Problem
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [SQL] Strange behavior