MargaretGillon(at)chromalloy(dot)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