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 trick is to get from unsigned long to oid (which is unsigned int)
on machines where those are different sizes.
regards, tom lane
- AW: AW: [HACKERS] PostgreSQL pre-7.1 Linux/Alpha St... Zeugswetter Andreas SB
- Tom Lane
