Re: [PATH] Idle in transaction cancellation - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: [PATH] Idle in transaction cancellation
Date
Msg-id 4CBD62650200002500036B16@gw.wicourts.gov
Whole thread Raw
In response to [PATH] Idle in transaction cancellation  (Andres Freund <andres@anarazel.de>)
Responses Re: [PATH] Idle in transaction cancellation
Re: [PATCH] V3: Idle in transaction cancellation
List pgsql-hackers
Andres Freund <andres@anarazel.de> wrote:
> Here is a proposed patch which enables cancellation of $subject.
Cool.  Some enhancements we'd like to do to Serializable Snapshot
Isolation (SSI), should the base patch make it in, would require
this capability.
> Currently it does *not* report any special error message to the
> client if it 
> 
> starts sending commands in an (unbekownst to it) failed
> transaction, but just the normal "25P02: current transaction is
> aborted..." message.
> 
> It shouldn't be hard to add that and I will propose a patch if
> people would like it (I personally am not very interested, but I
> can see people validly wanting it)
For SSI purposes, it would be highly desirable to be able to set the
SQLSTATE and message generated when the canceled transaction
terminates.
> but I would like to have some feedback on the patch first.
I'll take a look when I can, but it may be a couple weeks from now.
-Kevin


pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: knngist - 0.8
Next
From: Robert Haas
Date:
Subject: Re: [PATH] Idle in transaction cancellation