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 18146.1107557081@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:
> Rather than getting into the raised eyebrow thing ;-), I\\\'d suggest
> checking your "qualifiers". Consider that with Postgres, if killing a
> single connection brings the whole server down, you will loose _all_
> uncommitted data. If you did not, then I would call that a bug.

I would too.  So what's your complaint exactly?  That kill -9'ing one
backend takes out all your current uncommitted transactions and not just
the one?  I don't regard that as data loss: uncommitted is uncommitted.

            regards, tom lane

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Safely Killing Backends (Was: Applications that leak connections)
Next
From: Christopher Browne
Date:
Subject: Re: error-tolerant COPY FROM