pgsql: Back-patch recent pg_upgrade fixes into 9.2.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Back-patch recent pg_upgrade fixes into 9.2.
Date: 2012-09-03 19:03:20
Message-ID: E1T8bvc-0006b9-79@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Back-patch recent pg_upgrade fixes into 9.2.

This syncs contrib/pg_upgrade in the 9.2 branch with HEAD, except for the
HEAD changes related to converting XLogRecPtr to 64-bit int. It includes
back-patching these commits:

666d494d19dbd5dc7a177709a2f7069913f8ab89
pg_upgrade: abstract out copying of files from old cluster to new
7afa8bed65ea925208f128048f3a528a64e1319a
pg_upgrade: Run the created scripts in the test suite
ab577e63faf792593ca728625a8ef0b1dfaf7500
Remove analyze_new_cluster.sh on make clean, too
34c02044ed7e7defde5a853b26dcd806c872d974
Fix thinko in comment
088c065ce8e405fafbfa966937184ece9defcf20
pg_upgrade: Fix exec_prog API to be less flaky
f763b77193b04eba03a1f4ce46df34dc0348419e
Fix pg_upgrade to cope with non-default unix_socket_directory scenarios.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5c7e91e9c3d6716641ba52286c6d3daa6b1c13c0

Modified Files
--------------
contrib/pg_upgrade/Makefile | 2 +-
contrib/pg_upgrade/check.c | 11 ++---
contrib/pg_upgrade/dump.c | 9 ++--
contrib/pg_upgrade/exec.c | 80 +++++++++++++++-------------
contrib/pg_upgrade/file.c | 4 +-
contrib/pg_upgrade/option.c | 63 ++++++++++++++++++++++
contrib/pg_upgrade/pg_upgrade.c | 112 +++++++++++++++++++--------------------
contrib/pg_upgrade/pg_upgrade.h | 13 +++--
contrib/pg_upgrade/server.c | 97 +++++++++++++++++++++++++--------
contrib/pg_upgrade/test.sh | 3 +
doc/src/sgml/pgupgrade.sgml | 14 ++++-
11 files changed, 268 insertions(+), 140 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2012-09-03 19:33:38 pgsql: Fix bugs in exec.c that prevented pg_upgrade working in Windows.
Previous Message Tom Lane 2012-09-03 17:53:04 pgsql: Fix pg_upgrade to cope with non-default unix_socket_directory sc