Обсуждение: pgsql: Clear stmt_timeout_active if we disable_all_timeouts.

Поиск
Список
Период
Сортировка

pgsql: Clear stmt_timeout_active if we disable_all_timeouts.

От
Robert Haas
Дата:
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(+)