Re: [PATCH] V3: Idle in transaction cancellation

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Cc: pgsql-hackers@postgresql.org
Date: 2010-11-02T22:11:56Z
Lists: pgsql-hackers
On Tuesday 02 November 2010 22:59:15 Kevin Grittner wrote:
> > Does anybody have any idea why COMMIT is allowed there? Seems
> > pretty strange to me.
> 
>  
> So that the "failed transaction" state can be cleared.  The
> transaction as a whole has failed, but you don't want the connection
> to become useless.
Well, allowing ROLLBACK is enought there, isnt it?