pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Don't clobber postmaster sigmask in dsm_impl_resize.
7+ messages / 1 participants
[nested] [flat]

* pgsql: Don't clobber postmaster sigmask in dsm_impl_resize.
@ 2022-07-14 14:20 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Thomas Munro @ 2022-07-14 14:20 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/80845b7c0b2cf0a26e44d7906d63cddbb4dd586c

Modified Files
--------------
src/backend/storage/ipc/dsm_impl.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Don't clobber postmaster sigmask in dsm_impl_resize.
@ 2022-07-14 14:20 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Thomas Munro @ 2022-07-14 14:20 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a715c20043c1396bc28f19514e667bfb081e8ad2

Modified Files
--------------
src/backend/storage/ipc/dsm_impl.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Don't clobber postmaster sigmask in dsm_impl_resize.
@ 2022-07-14 14:21 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Thomas Munro @ 2022-07-14 14:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8383645592de522e9791ba84ddde23f3105366b5

Modified Files
--------------
src/backend/storage/ipc/dsm_impl.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Don't clobber postmaster sigmask in dsm_impl_resize.
@ 2022-07-14 14:21 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Thomas Munro @ 2022-07-14 14:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/17aa39da50c5ac37436522fe2dd9f25a93673fdd

Modified Files
--------------
src/backend/storage/ipc/dsm_impl.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Don't clobber postmaster sigmask in dsm_impl_resize.
@ 2022-07-14 14:21 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Thomas Munro @ 2022-07-14 14:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a05f40ef874b95a39471db68a313076cd94e256f

Modified Files
--------------
src/backend/storage/ipc/dsm_impl.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Don't clobber postmaster sigmask in dsm_impl_resize.
@ 2022-07-14 14:21 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Thomas Munro @ 2022-07-14 14:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/74a9ee034829153c3d5bfa270fd6372aa3147db5

Modified Files
--------------
src/backend/storage/ipc/dsm_impl.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Don't clobber postmaster sigmask in dsm_impl_resize.
@ 2022-07-14 14:21 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Thomas Munro @ 2022-07-14 14:21 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e26024bea9e9fe7bb10a00baea631d629c5bd61c

Modified Files
--------------
src/backend/storage/ipc/dsm_impl.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2022-07-14 14:21 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-07-14 14:20 pgsql: Don't clobber postmaster sigmask in dsm_impl_resize. Thomas Munro <tmunro@postgresql.org>
2022-07-14 14:20 pgsql: Don't clobber postmaster sigmask in dsm_impl_resize. Thomas Munro <tmunro@postgresql.org>
2022-07-14 14:21 pgsql: Don't clobber postmaster sigmask in dsm_impl_resize. Thomas Munro <tmunro@postgresql.org>
2022-07-14 14:21 pgsql: Don't clobber postmaster sigmask in dsm_impl_resize. Thomas Munro <tmunro@postgresql.org>
2022-07-14 14:21 pgsql: Don't clobber postmaster sigmask in dsm_impl_resize. Thomas Munro <tmunro@postgresql.org>
2022-07-14 14:21 pgsql: Don't clobber postmaster sigmask in dsm_impl_resize. Thomas Munro <tmunro@postgresql.org>
2022-07-14 14:21 pgsql: Don't clobber postmaster sigmask in dsm_impl_resize. Thomas Munro <tmunro@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox