Re: [PATCH] Allow breaking out of hung connection attempts
Ryan Kelly <rpkelly22@gmail.com>
From: Ryan Kelly <rpkelly22@gmail.com>
To: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2012-04-30T11:10:14Z
Lists: pgsql-hackers
Attachments
- psql-async-connect-4.patch (text/x-diff) patch
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@commandprompt.com> > The PostgreSQL Company - Command Prompt, Inc. > PostgreSQL Replication, Consulting, Custom Development, 24x7 support -Ryan Kelly