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

From Alvaro Herrera
Subject Re: Revised patch for fixing archiver shutdown behavior
Date
Msg-id 20080110135905.GA6465@alvh.no-ip.org
Whole thread Raw
In response to Re: Revised patch for fixing archiver shutdown behavior  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Revised patch for fixing archiver shutdown behavior
List pgsql-patches
Tom Lane wrote:

> Hence, attached revised patch ...

Looks good.

Something I'm still wondering is about the archiver/logger combination.
What happens if a postmaster is stopped by the user and the archiver is
still running, and the user starts a new postmaster?  This would launch
a new archiver and logger; and there are now two loggers possibly
writing to the same files, and truncated log lines could occur.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: DOC: Wal update
Next
From: Magnus Hagander
Date:
Subject: Re: reference problem of manifest.(win32.mak of libpq.dll)