Re: "cancelling statement due to user request error" occurs but the transaction has committed. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: "cancelling statement due to user request error" occurs but the transaction has committed.
Date
Msg-id 29939.1402411362@sss.pgh.pa.us
Whole thread Raw
In response to Re: "cancelling statement due to user request error" occurs but the transaction has committed.  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: "cancelling statement due to user request error" occurs but the transaction has committed.  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Jun 10, 2014 at 10:18 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> ...  So this whole area is a minefield, and the only
>> attractive thing we can do is to try to reduce the number of errors that
>> can get thrown post-commit.  We already, for example, do not treat
>> post-commit file unlink failures as ERROR, though we surely would prefer
>> to do that.

> We could treated it as a lost-communication scenario.  The appropriate
> recovery actions from the client's point of view are identical.

I'd hardly rate that as an attractive option.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: why postgresql define NTUP_PER_BUCKET as 10, not other numbers smaller
Next
From: Robert Haas
Date:
Subject: Re: /proc/self/oom_adj is deprecated in newer Linux kernels