Switchover : WAL archiving and shutdown...

From: Philippe Ferreira <phil(dot)f(at)worldonline(dot)fr>
To: pgsql-general(at)postgresql(dot)org
Subject: Switchover : WAL archiving and shutdown...
Date: 2005-11-30 22:05:15
Message-ID: 438E221B.30106@worldonline.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I'm setting up switchover (to another server) with WAL/PITR.

But I'm wondering what is the behaviour of postgresql when you shut it down,
while a new WAL archive is just ready to be copied, or if the transfer
is in progress ?
Is it kept on hold, until the next start, or is it copied before leaving ?

In other words, when I want to switchover, is it sufficient to stop
postgresql,
and rsync the last partial WAL (the last modified one), or do I have to
check if
every WAL file is in sync before starting the other server ??

Thank you in advance,
Philippe Ferreira

Browse pgsql-general by date

  From Date Subject
Next Message Jerry Sievers 2005-11-30 22:12:36 Re: How to check options PostgreSQL was started with
Previous Message Michael Fuhr 2005-11-30 21:58:15 Re: undefined behaviour for sub-transactions?