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:06:01 +1200 |
commit | a05f40ef874b95a39471db68a313076cd94e256f (patch) | |
tree | 2c8f67eb13bba4001c051d6e912e817fcc3723a3 /src/backend/storage/ipc/standby.c | |
parent | ff78bf796d8069002eb75edd0d5fc7fc6bf0a63b (diff) | |
download | postgresql-a05f40ef874b95a39471db68a313076cd94e256f.tar.gz postgresql-a05f40ef874b95a39471db68a313076cd94e256f.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 'src/backend/storage/ipc/standby.c')
0 files changed, 0 insertions, 0 deletions