pgsql: Mark ParallelMessagePending as sig_atomic_t

Started by Michael Paquierover 3 years ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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: /messages/by-id/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(-)