Re: [HACKERS] Patch (was: tough locale bug) - Mailing list pgsql-hackers

From Oleg Broytmann
Subject Re: [HACKERS] Patch (was: tough locale bug)
Date
Msg-id Pine.SOL2.3.96.SK.990201170856.23556K-100000@sun.med.ru
Whole thread Raw
In response to Re: [HACKERS] Patch (was: tough locale bug)  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
Hi!

On Mon, 1 Feb 1999, Thomas G. Lockhart wrote:
> >   #ifdef USE_LOCALE
> > !       if ((int)arg2[len2 - 1] != -1)
> 
> Sorry, I'm not as familiar with the LOCALE code as I should be. Why are
> we testing explicitly for -1? Is there something special about a
> character with all bits set in typical locale support code?
  Other way around - in windows-1251 it is pretty standard character.

Oleg.
----    Oleg Broytmann  National Research Surgery Centre  http://sun.med.ru/~phd/          Programmers don't die, they
justGOSUB without RETURN.
 



pgsql-hackers by date:

Previous
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: PL/pgSQL / SPI and UTILITY statements
Next
From: "jose' soares"
Date:
Subject: Re: [SQL] Re: [HACKERS] Re: SELECT DISTINCT ON ... ORDER BY ...