Re: [PATCH] V3: Idle in transaction cancellation
Kevin Grittner <kevin.grittner@wicourts.gov>
From: "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
To: "Andres Freund" <andres@anarazel.de>, <pgsql-hackers@postgresql.org>
Date: 2010-11-02T17:33:15Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> wrote: > * You wont see an error if the next command after the IDLE in > transaction is a COMMIT/ROLLBACK. I don*t see any sensible way > around that. Well, on a ROLLBACK I'm not sure it's a problem. On a COMMIT, couldn't you call a function to check for it in CommitTransaction and PrepareTransaction? -Kevin