pgsql: In pg_upgrade, pull the port number from postmaster.pid, like we

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In pg_upgrade, pull the port number from postmaster.pid, like we
Date: 2012-09-04 02:15:24
Message-ID: E1T8ifk-0004ZC-Tx@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

In pg_upgrade, pull the port number from postmaster.pid, like we do for
socket location. Also, prevent putting the socket in the current
directory for pre-9.1 servers in live check and non-live check mode,
because pre-9.1 pg_ctl -w can't handle it.

Backpatch to 9.2.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/d0a51117da92efd8cba426f6591fc1cfe6a497a3

Modified Files
--------------
contrib/pg_upgrade/check.c | 16 +++++---
contrib/pg_upgrade/option.c | 84 +++++++++++++++++++++++----------------
contrib/pg_upgrade/pg_upgrade.c | 3 +-
3 files changed, 62 insertions(+), 41 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2012-09-04 02:33:23 pgsql: Allow pg_upgrade "make check" to run on Windows/MSys.
Previous Message Andrew Dunstan 2012-09-03 22:16:38 pgsql: Use correct path separator for Windows builtin commands.