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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Robert Perry 2005-07-06 17:36:00 Re: By Passed Domain Constraints
Previous Message Tom Lane 2005-07-06 16:05:58 Re: By Passed Domain Constraints