]> granicus.if.org Git - postgresql/commit
In pg_upgrade, remove use of whichCluster, and just pass old/new cluster
authorBruce Momjian <bruce@momjian.us>
Sat, 1 Jan 2011 17:06:36 +0000 (12:06 -0500)
committerBruce Momjian <bruce@momjian.us>
Sat, 1 Jan 2011 17:06:36 +0000 (12:06 -0500)
commit6e6bee987ff4b6d650eec9f20fd477269d95e295
tree9b3d2ec9386334679808fdd3f37303ee89510f0b
parentf82b3e58f8876c330927b0e6562936c184a7bc6f
In pg_upgrade, remove use of whichCluster, and just pass old/new cluster
pointers, which simplifies the code.  This was not possible in 9.0 because
everything was in a single nested struct, but is possible now.

Per suggestion from Tom.
contrib/pg_upgrade/check.c
contrib/pg_upgrade/exec.c
contrib/pg_upgrade/function.c
contrib/pg_upgrade/info.c
contrib/pg_upgrade/pg_upgrade.c
contrib/pg_upgrade/pg_upgrade.h
contrib/pg_upgrade/relfilenode.c
contrib/pg_upgrade/server.c
contrib/pg_upgrade/tablespace.c
contrib/pg_upgrade/version.c
contrib/pg_upgrade/version_old_8_3.c