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

From Bruce Momjian
Subject pgsql: In pg_upgrade, properly handle oids > 2^31 by using strtoul() in
Date
Msg-id E1P0hv9-0002ce-BA@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: In pg_upgrade, properly handle oids > 2^31 by using strtoul() in
List pgsql-committers
In pg_upgrade, properly handle oids > 2^31 by using strtoul() internally
rather than atol().

Per report from Brian Hirt

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=9340fb80b1dba5528c0d16b24985369659a19377

Modified Files
--------------
contrib/pg_upgrade/controldata.c |   30 +++++++++++++++---------------
contrib/pg_upgrade/info.c        |    8 ++++----
contrib/pg_upgrade/pg_upgrade.h  |    2 ++
contrib/pg_upgrade/relfilenode.c |    4 ++--
contrib/pg_upgrade/util.c        |   12 ++++++++++++
5 files changed, 35 insertions(+), 21 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Fix leak patch that was using fclose() instead of close().
Next
From: Bruce Momjian
Date:
Subject: pgsql: In pg_upgrade, properly handle oids > 2^31 by using strtoul() in