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

From: Goran Thyni <goran(at)kirra(dot)net>
To: phd2(at)earthling(dot)net
Cc: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>, PostgreSQL Hackers <hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Patch (was: tough locale bug)
Date: 1999-02-01 16:45:55
Message-ID: 36B5DA43.3FF68D76@kirra.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Oleg Broytmann wrote:
>
> 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.

OK,
and it is probably not the last character in the alphabet either.
In that case we need another solution I am afraid.
Anyone got any ideas how to resolve this?

regards,
--
---------------------------------------------
Göran Thyni, JMS Bildbasen, Kiruna
This is Penguin Country. On a quiet night you can hear Windows NT
reboot!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-02-01 19:00:19 Re: [HACKERS] Is libpq re-entrant?
Previous Message Oliver Elphick 1999-02-01 16:40:37 Re: [SQL] Re: [HACKERS] Re: SELECT DISTINCT ON ... ORDER BY ...