Mark ParallelMessagePending as sig_atomic_t

Michael Paquier <michael@paquier.xyz>

Commit: 78fdb1e50f7fd394505a400b507f70ecffa6d7bf
Author: Michael Paquier <michael@paquier.xyz>
Date: 2022-09-27T00:29:56Z
Releases: 16.0
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

Files

PathChange+/−
src/backend/access/transam/parallel.c modified +1 −1
src/include/access/parallel.h modified +1 −1

Discussion