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

From Kevin Grittner
Subject Re: [PATCH] V3: Idle in transaction cancellation
Date
Msg-id 4CD0050B0200002500037194@gw.wicourts.gov
Whole thread Raw
In response to Re: [PATCH] V3: Idle in transaction cancellation  (Andres Freund <andres@anarazel.de>)
Responses Re: [PATCH] V3: Idle in transaction cancellation
List 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


pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: Comparison with "true" in source code
Next
From: Robert Haas
Date:
Subject: Re: ALTER TYPE recursion to typed tables