Skip site navigation (1) Skip section navigation (2)

Re: Revised patch for fixing archiver shutdown behavior

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-patches(at)postgreSQL(dot)org, Simon Riggs <simon(at)2ndquadrant(dot)com>
Subject: Re: Revised patch for fixing archiver shutdown behavior
Date: 2008-01-10 00:39:14
Message-ID: 21953.1199925554@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Hmm, so the postmaster is gone during the last archiving cycle?  What
> about syslogger?  Is the archiver able to log stuff in the last cycle?

The logger is no problem --- it quits when it sees EOF on its input
pipe, which means that all upstream processes are gone.

> The comment in line 2180 seems a bit bogus ...?

Yeah, that could use a bit more work I guess, since "normal children"
sounds like it would refer to more than just backends.

			regards, tom lane

In response to

pgsql-patches by date

Next:From: Alvaro HerreraDate: 2008-01-10 00:41:14
Subject: Re: BUG #3860: xpath crashes backend when is queryingxmlagg result
Previous:From: Alvaro HerreraDate: 2008-01-10 00:30:21
Subject: Re: Revised patch for fixing archiver shutdown behavior

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group