]> granicus.if.org Git - postgresql/commit
In pg_upgrade, only lock the old cluster if link mode is used, and do it
authorBruce Momjian <bruce@momjian.us>
Tue, 6 Mar 2012 02:19:54 +0000 (21:19 -0500)
committerBruce Momjian <bruce@momjian.us>
Tue, 6 Mar 2012 02:20:06 +0000 (21:20 -0500)
commit2127aac6ef56df14f2fc9e91871c6e9194c52eed
treeee7d0a2b9bd29348578e2388d6d255dca3124c64
parent6b289942bfdbbfa2955cedc591c522822a7ffbfe
In pg_upgrade, only lock the old cluster if link mode is used, and do it
right after we restore the schema (a common failure point), and right
before we do the link operation.

Per suggesgtions from Robert and ^!C^!^@lvaro
contrib/pg_upgrade/check.c
contrib/pg_upgrade/controldata.c
contrib/pg_upgrade/pg_upgrade.c
contrib/pg_upgrade/pg_upgrade.h
doc/src/sgml/pgupgrade.sgml