pgsql: In pg_upgrade, pull the port number from postmaster.pid, like we - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: In pg_upgrade, pull the port number from postmaster.pid, like we
Date
Msg-id E1T8ifk-0004ZA-SC@gemulon.postgresql.org
Whole thread Raw
List 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
------
master

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

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(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: In pg_upgrade, pull the port number from postmaster.pid, like we
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Allow pg_upgrade "make check" to run on Windows/MSys.