diff options
author | Thomas Munro <tmunro@postgresql.org> | 2022-07-15 01:23:29 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2022-07-15 02:02:28 +1200 |
commit | 8383645592de522e9791ba84ddde23f3105366b5 (patch) | |
tree | 5614ac3ea71363f8b404a00c3c895945c1b70a5c /contrib/postgres_fdw/postgres_fdw.c | |
parent | 2019e6ecfa26b11e2191a7a1ab41cea4f3ef1544 (diff) | |
download | postgresql-8383645592de522e9791ba84ddde23f3105366b5.tar.gz postgresql-8383645592de522e9791ba84ddde23f3105366b5.zip |
Don't clobber postmaster sigmask in dsm_impl_resize.
Commit 4518c798 intended to block signals in regular backends that
allocate DSM segments, but dsm_impl_resize() is also reached by
dsm_postmaster_startup(). It's not OK to clobber the postmaster's
signal mask, so only manipulate the signal mask when under the
postmaster.
Back-patch to all releases, like 4518c798.
Discussion: https://postgr.es/m/CA%2BhUKGKNpK%3D2OMeea_AZwpLg7Bm4%3DgYWk7eDjZ5F6YbozfOf8w%40mail.gmail.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions