Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: /rtmp/pg_upgrade
Description: text/x-diff (9.3 KB)

pgsql-hackers by date

Next:From: Robert HaasDate: 2011-04-26 14:24:25
Subject: Re: Proposal - asynchronous functions
Previous:From: David FetterDate: 2011-04-26 14:02:21
Subject: Re: Proposal - asynchronous functions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group