Обсуждение: pgsql: In pg_upgrade, only lock the old cluster if link mode is used, a

Поиск
Список
Период
Сортировка

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

От
Bruce Momjian
Дата:
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(-)