forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita4f0660
committed
Fix autovacuum launcher attachment to its DSA
The autovacuum launcher doesn't actually do anything with its DSA otherthan creating it and attaching to it, but it's been observed that afterlongjmp'ing to the standard error handling block (for example aftergetting SIGINT) the autovacuum enters an infinite loop reporting that itcannot attach to its DSA anymore (which is correct, because it's alreadyattached to it.) Fix by only attempting to attach if not alreadyattached.I introduced this bug together with BRIN autosummarization in7526e10.Reported-by: Yugo Nagata.Author: Thomas Munro. I added the comment to go with it.Discussion:https://postgr.es/m/20170621211538.0c9eae73.nagata@sraoss.co.jp1 parent2a6db5e commita4f0660
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
612 | 612 |
| |
613 | 613 |
| |
614 | 614 |
| |
615 |
| - | |
| 615 | + | |
| 616 | + | |
616 | 617 |
| |
617 | 618 |
| |
618 | 619 |
| |
| |||
626 | 627 |
| |
627 | 628 |
| |
628 | 629 |
| |
629 |
| - | |
| 630 | + | |
630 | 631 |
| |
631 | 632 |
| |
632 | 633 |
| |
|
0 commit comments
Comments
(0)