Re: [PATCH] Allow breaking out of hung connection attempts

From: Ryan Kelly <rpkelly22(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Allow breaking out of hung connection attempts
Date: 2012-04-30 15:30:47
Message-ID: 20120430153047.GB11610@llserver.lakeliving.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Apr 30, 2012 at 09:02:33AM -0400, Alvaro Herrera wrote:
>
> Excerpts from Ryan Kelly's message of lun abr 30 07:10:14 -0400 2012:
> > On Sun, Apr 29, 2012 at 10:12:40PM -0400, Alvaro Herrera wrote:
> > >
> > > Excerpts from Ryan Kelly's message of sáb ene 14 16:22:21 -0300 2012:
> > >
> > > > I have attached a new patch which handles the connect_timeout option by
> > > > adding a PQconnectTimeout(conn) function to access the connect_timeout
> > > > which I then use to retrieve the existing value from the old connection.
> > >
> > > Was this patch dropped entirely? If not and it hasn't been committed
> > > yet, I think it belongs in the open CF here:
> > > https://commitfest.postgresql.org/action/commitfest_view?id=14
> > Needs some freshening if anyone still wants it. Update against latest
> > HEAD attached.
>
> Well, do *you* want it?
Of course. That way I can stop patching my psql and go back to using the
one that came with my release :)

-Ryan Kelly

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2012-04-30 15:53:05 Typo in access/transam/xlog.c
Previous Message Simon Riggs 2012-04-30 15:29:17 Re: Analyzing foreign tables & memory problems