Re: \xDD patch for 7.5devel

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: jasongodden(at)optushome(dot)com(dot)au, Markus Bertheau <twanger(at)bluetwanger(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: \xDD patch for 7.5devel
Date: 2003-11-05 20:47:17
Message-ID: 260050000.1068065237@lerlaptop-red.iadfw.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

--On Thursday, November 06, 2003 07:43:07 +1100 Jason Godden
<jasongodden(at)optushome(dot)com(dot)au> wrote:

> On Thu, 6 Nov 2003 06:25 am, Markus Bertheau wrote:
>> ? ???, 05.11.2003, ? 16:25, Tom Lane ?????:
>> > > +#define HEXVALUE(c) (((c)>='a') ? ((c)-87) : (((c)>='A') ? ((c)-55)
>> > > : ((c)-'0')))
>> >
>> > This seems excessively dependent on the assumption that the character
>> > set is ASCII. Why have you hard-coded numeric equivalents into this
>> > macro?
>>
>> What not ASCII compatible character sets are out there in use still
>> today?
>
EBCDIC as far as I know is still the default on IBM Mainframes (been 5+
years but...).

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2003-11-05 20:49:54 Re: Performance features the 4th
Previous Message Jason Godden 2003-11-05 20:43:07 Re: \xDD patch for 7.5devel