From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Mark two signal flags as sig_atomic_t in pgbench and pg_test_fsy
Date: Sat, 26 Nov 2022 11:15:34 +0000
Message-ID: <E1oyt9h-000t9y-Q7@gemulon.postgresql.org> (raw)
Mark two signal flags as sig_atomic_t in pgbench and pg_test_fsync
Two booleans used for timeout tracking were used within some SIGALRM
signal handlers, but they were not declared as sig_atomic_t, so mark
them as such. This has no consequence on WIN32 for both tools.
Author: Ranier Vilela
Reviewed-by: Michael Paquier, Masahiko Sawada
Discussion: https://postgr.es/m/CAEudQArCDQQiPiFR16=yu9k5s2tp4tgEe1U1ZbkW4ofx81AWWQ@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1e314847dd69c6b3b85d36e5873d80b9e4cf028a
Modified Files
--------------
src/bin/pg_test_fsync/pg_test_fsync.c | 2 +-
src/bin/pgbench/pgbench.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Mark two signal flags as sig_atomic_t in pgbench and pg_test_fsy
In-Reply-To: <E1oyt9h-000t9y-Q7@gemulon.postgresql.org>
References: <E1oyt9h-000t9y-Q7@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