Re: AW: PostgreSQL pre-7.1 Linux/Alpha Status... - Mailing list pgsql-hackers

From Tom Lane
Subject Re: AW: PostgreSQL pre-7.1 Linux/Alpha Status...
Date
Msg-id 16399.977412284@sss.pgh.pa.us
Whole thread Raw
In response to AW: PostgreSQL pre-7.1 Linux/Alpha Status...  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
List pgsql-hackers
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at> writes:
> IIRC oid uses int4in/int4out and those should definitely be able to parse 
> -1040 into a 4 byte signed long without platform dependency, no ?

It has done that in past releases.  I changed it to use unsigned display
for 7.1.  Because of the past behavior, I think oidin had better accept
negative inputs for backwards compatibility.  Besides which, strtoul()
does that naturally ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Zeugswetter Andreas SB
Date:
Subject: AW: AW: PostgreSQL pre-7.1 Linux/Alpha Status...
Next
From: Tom Lane
Date:
Subject: Re: AW: AW: PostgreSQL pre-7.1 Linux/Alpha Status...