Re: Question about reliability? - Mailing list pgsql-hackers

From Don Baccus
Subject Re: Question about reliability?
Date
Msg-id 3.0.1.32.20001109084743.01696290@mail.pacifier.com
Whole thread Raw
In response to Re: Question about reliability?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
At 10:43 AM 11/9/00 -0500, Tom Lane wrote:

>> Would there be any potential to avoid these (possibly) unnecessary deaths?
>
>No, at least it'll never get my vote.

Besides, it's not that difficult for an application to recover from these
prophylactic backend deaths.  My PG driver for AOLserver does so
transparently,
retrying queries that get the "sorry I've been asked to shut down because some
other backend screwed up and died - please retry your query" but returning an
error for the actual query that caused a backend to hose itself.

The code using the driver is unaware that anything has happened (other than
the thread issuing the query that hosed the backend that died in execution, of
course).



- Don Baccus, Portland OR <dhogaza@pacifier.com> Nature photos, on-line guides, Pacific Northwest Rare Bird Alert
Serviceand other goodies at http://donb.photo.net.
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: problems with configure
Next
From: Tom Lane
Date:
Subject: Re: refcnt leak ?