pg_upgrade fix for connection testing

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: pg_upgrade fix for connection testing
Date: 2011-04-26 14:17:49
Message-ID: 201104261417.p3QEHnj26819@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The attached, applied patch changes pg_upgrade: now that it 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 PQconn structure leak that was in the testing loop.

Yeah, I got a fix into that patch. ;-)

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

Attachment Content-Type Size
/rtmp/pg_upgrade text/x-diff 9.3 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-04-26 14:24:25 Re: Proposal - asynchronous functions
Previous Message David Fetter 2011-04-26 14:02:21 Re: Proposal - asynchronous functions