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

Re: libpq and connection failures

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jtv(at)xs4all(dot)nl
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: libpq and connection failures
Date: 2005-07-06 16:59:47
Message-ID: 28109.1120669187@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-interfaces
jtv(at)xs4all(dot)nl writes:
> Tom Lane wrote:
>> I think it's probably better to have the default assumption be
>> "connection possibly recoverable" than have it be "summarily kill
>> connection at first hint of trouble".  The latter seems less robust
>> not more so.

> Not after the connection failure has made its way into a PGresult, surely?

Well, I've not had a whole lot of personal experience with flaky
connections to a database ... what do other people think would be
the most useful behavior?

			regards, tom lane

In response to

Responses

pgsql-interfaces by date

Next:From: Robert PerryDate: 2005-07-06 17:36:00
Subject: Re: By Passed Domain Constraints
Previous:From: Tom LaneDate: 2005-07-06 16:05:58
Subject: Re: By Passed Domain Constraints

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