Re: New SET/autocommit problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: New SET/autocommit problem
Дата
Msg-id 17577.1035293070@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: New SET/autocommit problem  (Sean Chittenden <sean@chittenden.org>)
Ответы Re: New SET/autocommit problem
Список pgsql-hackers
Sean Chittenden <sean@chittenden.org> writes:
> WARNING:  COMMIT: no transaction in progress

> I've got tons of these warnings in my logs... is there a programmatic
> way of determining if the current session is in a transaction?

Not at present: you have to track it for yourself.  One of the
suggestions on the list for the next frontend/backend protocol revision
(probably in 7.4) is to add a way for the backend to signal its
transaction state: no transaction, in transaction, or in failed
transaction seems like the set of possible states.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: pg_dump and large files - is this a problem?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump and large files - is this a problem?