pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove unneeded volatile qualifiers from postmaster.c.
Date: Sat, 28 Jan 2023 02:09:32 +0000
Message-ID: <E1pLaep-000HBQ-3l@gemulon.postgresql.org> (raw)

Remove unneeded volatile qualifiers from postmaster.c.

Several flags were marked volatile and in some cases used sig_atomic_t
because they were accessed from signal handlers.  After commit 7389aad6,
we can just use unqualified bool.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA%2BhUKGLMoeZNZY6gYdLUQmuoW_a8bKyLvtuZkd_zHcGVOfDzBA%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8d2c1913ed3df9384973399deeb75fc1e55943fe

Modified Files
--------------
src/backend/postmaster/postmaster.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1pLaep-000HBQ-3l@gemulon.postgresql.org>
Permalink:  ../E1pLaep-000HBQ-3l@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pLaep-000HBQ-3l@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: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove unneeded volatile qualifiers from postmaster.c.
  In-Reply-To: <E1pLaep-000HBQ-3l@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