Re: pgsql: In pg_upgrade, properly handle oids > 2^31 by using strtoul() in - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: In pg_upgrade, properly handle oids > 2^31 by using strtoul() in
Date
Msg-id 29750.1285711017@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: In pg_upgrade, properly handle oids > 2^31 by using strtoul() in  (Bruce Momjian <bruce@momjian.us>)
Responses Re: pgsql: In pg_upgrade, properly handle oids > 2^31 by using strtoul() in
List pgsql-committers
Bruce Momjian <bruce@momjian.us> writes:
> In pg_upgrade, properly handle oids > 2^31 by using strtoul() internally
> rather than atol().

It would be a lot better if this code adhered to the project-standard
coding convention of defining and using an atooid() macro for the
purpose of converting text representations of OIDs to bits.

            regards, tom lane

pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: In pg_upgrade, properly handle oids > 2^31 by using strtoul() in
Next
From: Tom Lane
Date:
Subject: pgsql: Improve messages for too many private files/dirs. Per Alexey Pa