Re: Revised patch for fixing archiver shutdown behavior - Mailing list pgsql-patches

From Tom Lane
Subject Re: Revised patch for fixing archiver shutdown behavior
Date
Msg-id 12873.1200063278@sss.pgh.pa.us
Whole thread Raw
In response to Re: Revised patch for fixing archiver shutdown behavior  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-patches
Simon Riggs <simon@2ndquadrant.com> writes:
> If we do a shutdown immediate on the postmaster *after* the bgwriter has
> written a shutdown checkpoint, do we have any record that there was a
> panic stop? Do we enter recovery in that case? I think the answers are
> yes and no, but just checking.

Yeah, the postmaster would complain at exit, but the pg_control state
is already SHUTDOWN at that point.  There'd be a log entry showing
abnormal archiver exit if the panic had had any actual effect on it.

            regards, tom lane

pgsql-patches by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Revised patch for fixing archiver shutdown behavior
Next
From: Tom Lane
Date:
Subject: Revised xml memory allocation patch