diff options
author | Robert Haas <rhaas@postgresql.org> | 2018-02-09 15:48:18 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2018-02-09 15:48:18 -0500 |
commit | be42015fcc7f91574775a53df9923a36fabddc60 (patch) | |
tree | 9a3530848aa1b086c04d88fb2617e83ba2d7e9be /src/backend/commands/functioncmds.c | |
parent | 958e20e42d6c346ab89f6c72e4262230161d1663 (diff) | |
download | postgresql-be42015fcc7f91574775a53df9923a36fabddc60.tar.gz postgresql-be42015fcc7f91574775a53df9923a36fabddc60.zip |
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
Diffstat (limited to 'src/backend/commands/functioncmds.c')
0 files changed, 0 insertions, 0 deletions