Re: [HACKERS] statement_timeout is not working as expected with postgres_fdw

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] statement_timeout is not working as expected with postgres_fdw
Дата
Msg-id 22556.1494953139@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] statement_timeout is not working as expected with postgres_fdw  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [HACKERS] statement_timeout is not working as expected withpostgres_fdw  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> Concretely, I think we should replace the abort_cleanup_incomplete
> flag from my previous patch with a changing_xact_state flag and set
> that flag around all transaction state changes, clearing it when such
> changes have succeeded.  On error, the flag remains set, so we know
> that the state of that connection is unknown and that we must close it
> (killing outer transaction levels as needed).

> Thoughts?

Sounds plausible.
        regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Increasing parallel workers at runtime
Следующее
От: David Fetter
Дата:
Сообщение: Re: [HACKERS] Hash Functions