Re: PL/pgSQL equivalent to PQtransactionStatus? - Mailing list pgsql-general

From Christophe
Subject Re: PL/pgSQL equivalent to PQtransactionStatus?
Date
Msg-id 5AE34F20-1397-472B-B2BC-37696AD5A7AE@thebuild.com
Whole thread Raw
In response to Re: PL/pgSQL equivalent to PQtransactionStatus?  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: PL/pgSQL equivalent to PQtransactionStatus?
List pgsql-general
On Jul 31, 2008, at 11:49 AM, Alvaro Herrera wrote:
> Why does it matter?

I'm attempting to "clean out" a connection that is in an unknown
state (along the lines of what pgpool does when reusing an open
connection).  Of course, I could just fire an ABORT down, but it
seems nicer to avoid doing so if no transaction block is open.

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: PL/pgSQL equivalent to PQtransactionStatus?
Next
From: Christophe
Date:
Subject: Re: PL/pgSQL equivalent to PQtransactionStatus?