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