forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita05f40e
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 parentff78bf7 commita05f40e
1 file changed
+8
-4
lines changedLines changed: 8 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
352 | 352 |
| |
353 | 353 |
| |
354 | 354 |
| |
355 |
| - | |
| 355 | + | |
| 356 | + | |
356 | 357 |
| |
357 | 358 |
| |
358 | 359 |
| |
| |||
390 | 391 |
| |
391 | 392 |
| |
392 | 393 |
| |
393 |
| - | |
394 |
| - | |
395 |
| - | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
396 | 400 |
| |
397 | 401 |
| |
398 | 402 |
| |
|
0 commit comments
Comments
(0)