pgsql: Clear stmt_timeout_active if we disable_all_timeouts. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Clear stmt_timeout_active if we disable_all_timeouts.
Date
Msg-id E1ekFd4-0008Mk-N8@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: postgres_fdw: Attmempt to stabilize regression tests.
Next
From: Robert Haas
Date:
Subject: pgsql: Mark assorted GUC variables as PGDLLIMPORT.