Re: Safely Killing Backends (Was: Applications that leak connections) - Mailing list pgsql-general

From Tom Lane
Subject Re: Safely Killing Backends (Was: Applications that leak connections)
Date
Msg-id 17559.1107552911@sss.pgh.pa.us
Whole thread Raw
In response to Re: Safely Killing Backends (Was: Applications that leak connections)  (Jim Wilson <jimw@kelcomaine.com>)
List pgsql-general
Jim Wilson <jimw@kelcomaine.com> writes:
> If you are not very careful about how you handle orphaned connections
> in Postgres you will likely lose data....not "maybe" like a long
> shot...but "likely".

[ raised eyebrow ... ]  Say again?  I don't know of any reason why a
lost connection would cause loss of (successfully committed) transactions.
Not even if a DBA with an itchy "kill -9" trigger finger is in charge of
cleaning up the lost connections.  Please describe the scenarios you've
had problems with.

            regards, tom lane

pgsql-general by date:

Previous
From: Jim Wilson
Date:
Subject: Re: Safely Killing Backends (Was: Applications that leak connections)
Next
From: Martijn van Oosterhout
Date:
Subject: Re: plpgsql function errors