Add missing call to ConditionVariableCancelSleep().

Robert Haas <rhaas@postgresql.org>

Commit: 6c8d2ea7a5fb7f85e5f64994affa33e79c19ddd3
Author: Robert Haas <rhaas@postgresql.org>
Date: 2024-07-22T14:10:52Z
Releases: 17.0
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

Files

PathChange+/−
src/backend/postmaster/walsummarizer.c modified +2 −0

Discussion