Skip site navigation (1) Skip section navigation (2)

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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In pg_upgrade,properly handle oids > 2^31 by using strtoul() in
Date: 2010-09-28 21:41:07
Message-ID: E1P0hv9-0002cf-A1@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
In pg_upgrade, properly handle oids > 2^31 by using strtoul() internally
rather than atol().

Per report from Brian Hirt

Branch
------
REL9_0_STABLE

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

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

Next:From: Tom LaneDate: 2010-09-28 21:56:57
Subject: Re: pgsql: In pg_upgrade, properly handle oids > 2^31 by using strtoul() in
Previous:From: Bruce MomjianDate: 2010-09-28 21:37:36
Subject: pgsql: Fix leak patch that was using fclose() instead of close().

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group