> IIRC oid uses int4in/int4out and those should definitely be able to parse> -1040 into a 4 byte signed long without platform dependency, no ?
Tom Lane changed this recently to have OID use its own i/o routines.
- Thomas