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-12-01 18:07:02
Message-ID: 438F3BC6.2040908@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 could be the behaviour of Postgresql if you
shutdown the
service while a new WAL archive is just ready to be copied, or if the
transfer is in
progress...
Will the tranfer be canceled (until the next start), or will Postgresql
wait for the end
of the transfer before exiting ?

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2005-12-01 18:07:26 Re: Finding uniques across a big join
Previous Message Greg Stark 2005-12-01 18:04:52 Re: undefined behaviour for sub-transactions?