Now that pg_upgrade uses -w in pg_ctl, remove loop that retried testing
Bruce Momjian <bruce@momjian.us>
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
| Path | Change | +/− |
|---|---|---|
| contrib/pg_upgrade/pg_upgrade.h | modified | +0 −1 |
| contrib/pg_upgrade/server.c | modified | +47 −118 |