Mark ParallelMessagePending as sig_atomic_t
Michael 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: https://postgr.es/m/TYAPR01MB58667C15A95A234720F4F876F5529@TYAPR01MB5866.jpnprd01.prod.outlook.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/parallel.c | modified | +1 −1 |
| src/include/access/parallel.h | modified | +1 −1 |
Discussion
- [small patch] Change datatype of ParallelMessagePending from "volatile bool" to "volatile sig_atomic_t" 8 messages · 2022-09-26 → 2022-09-29