Re: Revised patch for fixing archiver shutdown behavior

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-patches(at)postgreSQL(dot)org
Subject: Re: Revised patch for fixing archiver shutdown behavior
Date: 2008-01-10 15:53:23
Message-ID: 1199980403.4266.772.camel@ebony.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Thu, 2008-01-10 at 12:28 -0300, Alvaro Herrera wrote:

> Yeah, that seems the safest to me -- the problem is that it complicates
> the shutdown sequence a fair bit, because postmaster must act
> differently depending on whether archiving is enabled or not: wait for
> bgwriter exit if disabled, or for archiver exit otherwise.

If there's nothing to write, archiver will exit quickly, so in most
cases they will look the same.

--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2008-01-10 15:57:34 Re: Revised patch for fixing archiver shutdown behavior
Previous Message Simon Riggs 2008-01-10 15:53:04 Re: Revised patch for fixing archiver shutdown behavior