Re: [HACKERS] Patch (was: tough locale bug)

From: Oleg Broytmann <phd(at)sun(dot)med(dot)ru>
To: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: Goran Thyni <goran(at)kirra(dot)net>, PostgreSQL Hackers <hackers(at)postgreSQL(dot)org>, pgsql-paches(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Patch (was: tough locale bug)
Date: 1999-02-01 14:10:15
Message-ID: Pine.SOL2.3.96.SK.990201170856.23556K-100000@sun.med.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 just GOSUB without RETURN.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1999-02-01 14:20:50 PL/pgSQL / SPI and UTILITY statements
Previous Message Thomas G. Lockhart 1999-02-01 13:59:35 Re: [HACKERS] Patch (was: tough locale bug)