| From: | Robert Haas <rhaas(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add missing call to ConditionVariableCancelSleep(). |
| Date: | 2024-07-22 14:19:27 |
| Message-ID: | E1sVtst-000ice-0f@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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
Branch
------
REL_17_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/6c8d2ea7a5fb7f85e5f64994affa33e79c19ddd3
Modified Files
--------------
src/backend/postmaster/walsummarizer.c | 2 ++
1 file changed, 2 insertions(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2024-07-22 19:20:41 | pgsql: Remove grotty use of disable_cost for TID scan plans. |
| Previous Message | Robert Haas | 2024-07-22 14:19:26 | pgsql: Add missing call to ConditionVariableCancelSleep(). |