On Wed, 2010-09-15 at 09:40 +0300, Heikki Linnakangas wrote:
> > However, if the following clause is ever invoked, then the loop does
> > have problems and we leave when not caught up.
> >
> > if (!PostmasterIsAlive(true))
> > exit(1);
>
> As the comment above that says, that's just an escape hatch if
> postmaster dies unexpectedly for any reason. It won't happen in a normal
> shutdown.
Thanks for clarifying. I wanted to copy the logic, so just checking.
-- Simon Riggs www.2ndQuadrant.comPostgreSQL Development, 24x7 Support, Training and Services