pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add missing call to ConditionVariableCancelSleep().
Date: Mon, 22 Jul 2024 14:19:26 +0000
Message-ID: <E1sVtss-000icd-Vs@gemulon.postgresql.org> (raw)

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c0348fd0e389c89003f309918705d1daea2217b0

Modified Files
--------------
src/backend/postmaster/walsummarizer.c | 2 ++
1 file changed, 2 insertions(+)



view thread (2+ messages)  latest in thread

Message-ID: <E1sVtss-000icd-Vs@gemulon.postgresql.org>
Permalink:  ../E1sVtss-000icd-Vs@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sVtss-000icd-Vs@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add missing call to ConditionVariableCancelSleep().
  In-Reply-To: <E1sVtss-000icd-Vs@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox