aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2022-07-15 01:23:29 +1200
committerThomas Munro <tmunro@postgresql.org>2022-07-15 02:04:53 +1200
commit17aa39da50c5ac37436522fe2dd9f25a93673fdd (patch)
treecbc6c062b31945dd5dc2e44cab2be3c47794b366 /contrib/postgres_fdw/postgres_fdw.c
parente73fe6e828d141b0ee0be8d7f58d73b3f0fad872 (diff)
downloadpostgresql-17aa39da50c5ac37436522fe2dd9f25a93673fdd.tar.gz
postgresql-17aa39da50c5ac37436522fe2dd9f25a93673fdd.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