Mark ParallelMessagePending as sig_atomic_t
authorMichael Paquier <michael@paquier.xyz>
Tue, 27 Sep 2022 00:29:56 +0000 (09:29 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 27 Sep 2022 00:29:56 +0000 (09:29 +0900)
commit78fdb1e50f7fd394505a400b507f70ecffa6d7bf
tree02f9a40f9ec2c2740f2c7d09ee638733d2cc3967
parente1e6f8f3dfe141839220875270a81ad3a719e0b6
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
src/backend/access/transam/parallel.c
src/include/access/parallel.h