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