diff options
author | Noah Misch <noah@leadboat.com> | 2015-01-07 22:35:44 -0500 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2015-01-07 22:42:42 -0500 |
commit | 8dc83104edd476e39fb4d0091d0f1068ad5ea1a4 (patch) | |
tree | 00a4c60e7715ac9fe246cf28c0495429404b8e02 /src/backend/executor/execMain.c | |
parent | 05bb4fcad427b625e099517d76a62c6594806507 (diff) | |
download | postgresql-8dc83104edd476e39fb4d0091d0f1068ad5ea1a4.tar.gz postgresql-8dc83104edd476e39fb4d0091d0f1068ad5ea1a4.zip |
On Darwin, detect and report a multithreaded postmaster.
Darwin --enable-nls builds use a substitute setlocale() that may start a
thread. Buildfarm member orangutan experienced BackendList corruption
on account of different postmaster threads executing signal handlers
simultaneously. Furthermore, a multithreaded postmaster risks undefined
behavior from sigprocmask() and fork(). Emit LOG messages about the
problem and its workaround. Back-patch to 9.0 (all supported versions).
Diffstat (limited to 'src/backend/executor/execMain.c')
0 files changed, 0 insertions, 0 deletions