On Tue, 2006-05-23 at 10:53 -0400, Tom Lane wrote:
> Simon Riggs <simon@2ndquadrant.com> writes:
> > This doesn't quite get to the nub of the problem: archiver is designed
> > to keep archiving files, even in the event that the postmaster explodes.
> > It will keep archiving until they're all gone.
>
> I think we just need a PostmasterIsAlive check in the per-file loop.
...which would mean the archiver would not outlive postmaster in the
event it crashes...which is exactly the time you want it to keep going.
Granted, that's an easy change.
-- Simon Riggs EnterpriseDB http://www.enterprisedb.com