In pg_upgrade, properly handle oids > 2^31 by using strtoul() internally
Bruce Momjian <bruce@momjian.us>
In pg_upgrade, properly handle oids > 2^31 by using strtoul() internally rather than atol(). Per report from Brian Hirt
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_upgrade/controldata.c | modified | +15 −15 |
| contrib/pg_upgrade/info.c | modified | +4 −4 |
| contrib/pg_upgrade/pg_upgrade.h | modified | +2 −0 |
| contrib/pg_upgrade/relfilenode.c | modified | +2 −2 |
| contrib/pg_upgrade/util.c | modified | +12 −0 |