pgsql: Clear stmt_timeout_active if we disable_all_timeouts.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Clear stmt_timeout_active if we disable_all_timeouts.
Дата
Msg-id E1ekFd4-0008Mk-N8@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Clear stmt_timeout_active if we disable_all_timeouts.

Otherwise, we can end up with the flag set when the timeout is
actually disabled, leading to misbehavior.  Commit
f8e5f156b30efee5d0038b03e38735773abcb7ed introduced this bug.

Reported by Peter Eisentraut.  Analysis and fix by Thomas Munro,
tweaked by me.

Discussion: http://postgr.es/m/6a909374-2602-7136-8c70-397330a418f3@2ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/be42015fcc7f91574775a53df9923a36fabddc60

Modified Files
--------------
src/backend/tcop/postgres.c | 1 +
1 file changed, 1 insertion(+)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: postgres_fdw: Attmempt to stabilize regression tests.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Mark assorted GUC variables as PGDLLIMPORT.