Zeugswetter Andreas SB <[EMAIL PROTECTED]> writes:
> Reading the code, I don't understand it. Why would strtoul return an
> int in the first place ? The name seems to imply an unsigned long
> return type.
What's your point?
unsigned long cvt;
cvt = strtoul(s, &endptr, 10);
The
> > 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.
Reading the code, I don't understand it. Why would strtoul return an int i