Now that pg_upgrade uses -w in pg_ctl, remove loop that retried testing

Bruce Momjian <bruce@momjian.us>

Commit: 6c4d2bd9141034bd27977794f52003fd6f7d01f0
Author: Bruce Momjian <bruce@momjian.us>
Date: 2011-04-26T14:15:18Z
Releases: 9.1.0
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.

Files

PathChange+/−
contrib/pg_upgrade/pg_upgrade.h modified +0 −1
contrib/pg_upgrade/server.c modified +47 −118