Re: Dangling Client Backend Process - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Dangling Client Backend Process
Date
Msg-id 20151014101227.GK10323@awork2.anarazel.de
Whole thread Raw
In response to Re: Dangling Client Backend Process  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Responses Re: Dangling Client Backend Process  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On 2015-10-14 17:33:01 +0900, Kyotaro HORIGUCHI wrote:
> If I recall correctly, he concerned about killing the backends
> running transactions which could be saved. I have a sympathy with
> the opinion.

I still don't. Leaving backends alive after postmaster has died prevents
the auto-restart mechanism to from working from there on.  Which means
that we'll potentially continue happily after another backend has
PANICed and potentially corrupted shared memory. Which isn't all that
unlikely if postmaster isn't around anymore.

Andres



pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: Use pg_rewind when target timeline was switched
Next
From: Andres Freund
Date:
Subject: Re: remaining open items