Search Postgresql Archives

Re: How to know if a TRANSACTION isn't completed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



MargaretGillon@xxxxxxxxxxxxxx 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

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
      message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux