Re: Re: backend hangs at immediate shutdown (Re: Back-branch update releases coming in a couple weeks)
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Andres Freund <andres@2ndquadrant.com>, Noah Misch <noah@leadboat.com>,
MauMau <maumau307@gmail.com>, Peter Eisentraut <peter_e@gmx.net>,
pgsql-hackers@postgresql.org
Date: 2013-06-21T21:44:21Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes: > Andres Freund escribi: >> What we could do to improve the robustness a bit - at least on linux - >> is to prctl(PR_SET_PDEATHSIG, SIGKILL) which would cause children to be >> killed if the postmaster goes away... > This is an interesting idea (even if it has no relationship to the patch > at hand). The traditional theory has been that that would be less robust, not more so. Child backends are (mostly) able to carry out queries whether or not the postmaster is around. True, you can't make new connections, but how does killing the existing children make that better? regards, tom lane
Commits
-
Consistency check should compare last record replayed, not last record read.
- 970fb12de121 9.3.0 cited
-
Update minimum recovery point on truncation.
- 7bffc9b7bf9e 9.3.0 cited