Skip site navigation (1) Skip section navigation (2)

Re: [PATCH] V3: Idle in transaction cancellation

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Andres Freund" <andres(at)anarazel(dot)de>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] V3: Idle in transaction cancellation
Date: 2010-11-02 17:33:15
Message-ID: 4CD0050B0200002500037194@gw.wicourts.gov (view raw or flat)
Thread:
Lists: pgsql-hackers
Andres Freund <andres(at)anarazel(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Robert HaasDate: 2010-11-02 17:54:51
Subject: Re: ALTER TYPE recursion to typed tables
Previous:From: Michael MeskesDate: 2010-11-02 17:19:42
Subject: Re: Comparison with "true" in source code

Privacy Policy | About PostgreSQL
Copyright © 1996-2013 The PostgreSQL Global Development Group