git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 958e20e) | patch
Clear stmt_timeout_active if we disable_all_timeouts.
Fri, 9 Feb 2018 20:48:18 +0000 (15:48 -0500)
Fri, 9 Feb 2018 20:48:18 +0000 (15:48 -0500)
commit be42015fcc7f91574775a53df9923a36fabddc60
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
src/backend/tcop/postgres.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /