Now that pg_upgrade uses -w in pg_ctl, remove loop that retried testing
the connection;  also restructure the libpq connection code.

This patch also removes the unused variable postmasterPID and fixes a
libpq structure leak that was in the testing loop.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6c4d2bd9141034bd27977794f52003fd6f7d01f0

Modified Files
--------------
contrib/pg_upgrade/pg_upgrade.h |    1 -
contrib/pg_upgrade/server.c     |  165 +++++++++++----------------------------
2 files changed, 47 insertions(+), 119 deletions(-)


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to