pgsql: In pg_upgrade, only lock the old cluster if link mode is used, a

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In pg_upgrade, only lock the old cluster if link mode is used, a
Date: 2012-03-06 02:20:08
Message-ID: E1S4k0W-0006B6-MY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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^!^(at)lvaro

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2127aac6ef56df14f2fc9e91871c6e9194c52eed

Modified Files
--------------
contrib/pg_upgrade/check.c | 9 ++++-----
contrib/pg_upgrade/controldata.c | 9 ++++++++-
contrib/pg_upgrade/pg_upgrade.c | 20 ++++++++++----------
contrib/pg_upgrade/pg_upgrade.h | 5 ++---
doc/src/sgml/pgupgrade.sgml | 29 +++++++++++++----------------
5 files changed, 37 insertions(+), 35 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2012-03-06 08:18:58 pgsql: Remove extra copies of LogwrtResult.
Previous Message Tom Lane 2012-03-05 21:16:14 pgsql: Redesign PlanForeignScan API to allow multiple paths for a forei