Remove unneeded volatile qualifiers from postmaster.c.

Thomas Munro <tmunro@postgresql.org>

Commit: 8d2c1913ed3df9384973399deeb75fc1e55943fe
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2023-01-28T02:06:23Z
Releases: 16.0
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

Files

PathChange+/−
src/backend/postmaster/postmaster.c modified +5 −5

Discussion