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

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 (view raw or flat)
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(-)

pgsql-committers by date

Next:From: Heikki LinnakangasDate: 2012-03-06 08:18:58
Subject: pgsql: Simplify the way changes to full_page_writes are logged.
Previous:From: Tom LaneDate: 2012-03-05 21:16:14
Subject: pgsql: Redesign PlanForeignScan API to allow multiple paths for aforei

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