Re: AW: AW: [HACKERS] PostgreSQL pre-7.1 Linux/Alpha Status...

2000-12-21 Thread Tom Lane
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

AW: AW: [HACKERS] PostgreSQL pre-7.1 Linux/Alpha Status...

2000-12-21 Thread Zeugswetter Andreas SB
> > 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