forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita715c20
committed
Don't clobber postmaster sigmask in dsm_impl_resize.
Commit4518c79 intended to block signals in regular backends thatallocate DSM segments, but dsm_impl_resize() is also reached bydsm_postmaster_startup(). It's not OK to clobber the postmaster'ssignal mask, so only manipulate the signal mask when under thepostmaster.Back-patch to all releases, like4518c79.Discussion:https://postgr.es/m/CA%2BhUKGKNpK%3D2OMeea_AZwpLg7Bm4%3DgYWk7eDjZ5F6YbozfOf8w%40mail.gmail.com1 parentc4a617e commita715c20
1 file changed
+8
-4
lines changedLines changed: 8 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
362 | 362 |
| |
363 | 363 |
| |
364 | 364 |
| |
365 |
| - | |
| 365 | + | |
| 366 | + | |
366 | 367 |
| |
367 | 368 |
| |
368 | 369 |
| |
| |||
402 | 403 |
| |
403 | 404 |
| |
404 | 405 |
| |
405 |
| - | |
406 |
| - | |
407 |
| - | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
408 | 412 |
| |
409 | 413 |
| |
410 | 414 |
| |
|
0 commit comments
Comments
(0)