]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add missing call to ConditionVariableCancelSleep().
authorRobert Haas <rhaas@postgresql.org>
Wed, 17 Jul 2024 18:53:00 +0000 (14:53 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 22 Jul 2024 14:02:31 +0000 (10:02 -0400)
commitc0348fd0e389c89003f309918705d1daea2217b0
tree09e01132885286f911fbf0b2f1b9d8e8939be62d
parent5d2e1cc117b38db6bb5dc2e9ae9115304571ac70
Add missing call to ConditionVariableCancelSleep().

After calling ConditionVariableSleep() or ConditionVariableTimedSleep()
one or more times, code is supposed to call ConditionVariableCancelSleep()
to remove itself from the waitlist. This code neglected to do so.
As far as I know, that had no observable consequences, but let's make
the code correct.

Discussion: http://postgr.es/m/CA+TgmoYW8eR+KN6zhVH0sin7QH6AvENqw_bkN-bB4yLYKAnsew@mail.gmail.com
src/backend/postmaster/walsummarizer.c