Re: \xDD patch for 7.5devel - Mailing list pgsql-hackers

From Larry Rosenman
Subject Re: \xDD patch for 7.5devel
Date
Msg-id 260050000.1068065237@lerlaptop-red.iadfw.net
Whole thread Raw
In response to Re: \xDD patch for 7.5devel  (Jason Godden <jasongodden@optushome.com.au>)
Responses Re: \xDD patch for 7.5devel  (Kurt Roeckx <Q@ping.be>)
List pgsql-hackers

--On Thursday, November 06, 2003 07:43:07 +1100 Jason Godden
<jasongodden@optushome.com.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@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

pgsql-hackers by date:

Previous
From: Jason Godden
Date:
Subject: Re: \xDD patch for 7.5devel
Next
From: Jan Wieck
Date:
Subject: Re: Performance features the 4th