Re: [PATCH] V3: Idle in transaction cancellation

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: [PATCH] V3: Idle in transaction cancellation
Дата
Msg-id 4CD0050B0200002500037194@gw.wicourts.gov
обсуждение исходный текст
Ответ на Re: [PATCH] V3: Idle in transaction cancellation  (Andres Freund <andres@anarazel.de>)
Ответы Re: [PATCH] V3: Idle in transaction cancellation  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> wrote:
> * You wont see an error if the next command after the IDLE in
> transaction is a COMMIT/ROLLBACK. I don*t see any sensible way
> around that.
Well, on a ROLLBACK I'm not sure it's a problem.  On a COMMIT,
couldn't you call a function to check for it in CommitTransaction
and PrepareTransaction?
-Kevin


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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: Comparison with "true" in source code
Следующее
От: Robert Haas
Дата:
Сообщение: Re: ALTER TYPE recursion to typed tables