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

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: How to know if a TRANSACTION isn't completed
Дата
Msg-id 42C497F7.8020803@samurai.com
обсуждение исходный текст
Ответ на How to know if a TRANSACTION isn't completed  (MargaretGillon@chromalloy.com)
Ответы Re: How to know if a TRANSACTION isn't completed  (MargaretGillon@chromalloy.com)
Список 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 по дате отправления:

Предыдущее
От: David Pratt
Дата:
Сообщение: Re: Advice on structure /sequence / trigger
Следующее
От: Albert Vernon Smith
Дата:
Сообщение: Re: optimizer not optimizing