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

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

From
Bruce Momjian
Date:
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(-)