aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2015-01-07 22:35:44 -0500
committerNoah Misch <noah@leadboat.com>2015-01-07 22:40:40 -0500
commit1a366d51effd0e9f3301d68c2d3dce09c8c43d1f (patch)
treeffb5cbd67055a45f36ab2e2ab1ad2fb4136d00ff /src/backend/utils/adt/ruleutils.c
parent230865e308f65d24d32aba1e6c1e4502b9047347 (diff)
downloadpostgresql-1a366d51effd0e9f3301d68c2d3dce09c8c43d1f.tar.gz
postgresql-1a366d51effd0e9f3301d68c2d3dce09c8c43d1f.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/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions