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

From Bruce Momjian
Subject pgsql: In pg_upgrade, only lock the old cluster if link mode is used, a
Date
Msg-id E1S4k0W-0006B6-MY@gemulon.postgresql.org
Whole thread Raw
List 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^!^@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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Redesign PlanForeignScan API to allow multiple paths for a forei
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Remove extra copies of LogwrtResult.