Re: How to know if a TRANSACTION isn't completed - Mailing list pgsql-general

From Neil Conway
Subject Re: How to know if a TRANSACTION isn't completed
Date
Msg-id 42C497F7.8020803@samurai.com
Whole thread Raw
In response to How to know if a TRANSACTION isn't completed  (MargaretGillon@chromalloy.com)
Responses Re: How to know if a TRANSACTION isn't completed
List pgsql-general
MargaretGillon@chromalloy.com wrote:
> Is there  a similar command in Postgresql so that the client application
> can find out if there's an unresolved transaction before it starts a new
> one?

See PQtransactionStatus() in libpq; if you're using a different language
interface, it should provide some means to get the same information.

http://developer.postgresql.org/docs/postgres/libpq-status.html

-Neil

pgsql-general by date:

Previous
From: David Pratt
Date:
Subject: Re: Advice on structure /sequence / trigger
Next
From: Albert Vernon Smith
Date:
Subject: Re: optimizer not optimizing