]> granicus.if.org Git - postgresql/commit
In pg_upgrade, pull the port number from postmaster.pid, like we do for
authorBruce Momjian <bruce@momjian.us>
Tue, 4 Sep 2012 02:15:09 +0000 (22:15 -0400)
committerBruce Momjian <bruce@momjian.us>
Tue, 4 Sep 2012 02:15:09 +0000 (22:15 -0400)
commita80b8037cfc24a4fa75ba267b6d39cba105ad4d6
tree1402fa62e7b4913778b49e1d72fd695b1c3d0082
parent504aeea6926730f6fa9d3e0ec3a181b659c2f594
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.
contrib/pg_upgrade/check.c
contrib/pg_upgrade/option.c
contrib/pg_upgrade/pg_upgrade.c