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

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 11:10:14
Message-ID: 20120430111014.GA11610@llserver.lakeliving.com (view raw or flat)
Thread:
Lists: pgsql-hackers
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.

> 
> -- 
> Álvaro Herrera <alvherre(at)commandprompt(dot)com>
> The PostgreSQL Company - Command Prompt, Inc.
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support

-Ryan Kelly

Attachment: psql-async-connect-4.patch
Description: text/x-diff (7.4 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Atri SharmaDate: 2012-04-30 12:00:07
Subject: Re: Future In-Core Replication
Previous:From: Magnus HaganderDate: 2012-04-30 10:28:21
Subject: Re: enable_indexonly

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