pgsql: Mark ParallelMessagePending as sig_atomic_t

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Mark ParallelMessagePending as sig_atomic_t
Date: 2022-09-27 00:31:18
Message-ID: E1ocyVK-002AX2-9i@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Mark ParallelMessagePending as sig_atomic_t

ParallelMessagePending was previously marked as a boolean which should
be fine on modern platforms, but the C standard recommends the use of
sig_atomic_t for variables manipulated in signal handlers.

Author: Hayato Kuroda
Discussion: https://postgr.es/m/TYAPR01MB58667C15A95A234720F4F876F5529@TYAPR01MB5866.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/78fdb1e50f7fd394505a400b507f70ecffa6d7bf

Modified Files
--------------
src/backend/access/transam/parallel.c | 2 +-
src/include/access/parallel.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-09-27 02:56:14 pgsql: meson: Set up absolute rpaths to libdir
Previous Message Michael Paquier 2022-09-27 00:15:43 pgsql: Remove dependency to StringInfo in xlogbackup.{c.h}