On Wed, 2009-05-13 at 16:47 -0400, Tom Lane wrote:
> Simon Riggs <simon@2ndQuadrant.com> writes:
> > recovery_end_command is performed *after* the UpdateControlFile() once
> > the we are DB_IN_PRODUCTION.
>
> Hmm, shouldn't it be after the last checkpoint
Definitely.
> but before we go to DB_IN_PRODUCTION?
I think it can be either, so I'll go with your proposal.
(I'm aware Fujii-san is asleep right now, so we should expect another
viewpoint before tomorrow).
-- Simon Riggs www.2ndQuadrant.comPostgreSQL Training, Services and Support