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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Now that pg_upgrade uses -w in pg_ctl, remove loop that retried
Date: 2011-04-26 14:15:52
Message-ID: E1QEj3Q-0000nA-PG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message User Itagaki 2011-04-26 14:31:56 textsearch-ja - textsearch-ja: Added pure-mecab text parser and
Previous Message User Itagaki 2011-04-26 11:44:57 textsearch-ja - textsearch-ja: Fix a bug in text normalization when a