forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit80845b7
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 parent7c0eb3c commit80845b7
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 |
| |
| |||
398 | 399 |
| |
399 | 400 |
| |
400 | 401 |
| |
401 |
| - | |
402 |
| - | |
403 |
| - | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
404 | 408 |
| |
405 | 409 |
| |
406 | 410 |
| |
|
0 commit comments
Comments
(0)