Re: [HACKERS] Point in Time Recovery - Mailing list pgsql-admin

From Simon Riggs
Subject Re: [HACKERS] Point in Time Recovery
Date
Msg-id 1090540113.3057.17.camel@localhost.localdomain
Whole thread Raw
In response to Re: [HACKERS] Point in Time Recovery  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Point in Time Recovery
Re: [HACKERS] Point in Time Recovery
List pgsql-admin
On Thu, 2004-07-22 at 21:19, Tom Lane wrote:
> Mark Kirkwood <markir@coretech.co.nz> writes:
> > 2) Is is possible to make the recovery kick in even though pg_control
> > says the database state is shutdown?
>
> Yeah, I think you are right: presence of recovery.conf should force a
> WAL scan even if pg_control claims it's shut down.  Fix committed.
>

This *should* be possible but I haven't tested it.

There is a code path on secondary checkpoints that indicates that crash
recovery can occur even when the database was shutdown, since the code
forces recovery whether it was or not. On that basis, this may work, but
is yet untested. I didn't mention this because it might interfere with
getting hot backup to work...

Best Regards, Simon Riggs


pgsql-admin by date:

Previous
From: "bcscomputers"
Date:
Subject:
Next
From: Mark Kirkwood
Date:
Subject: Re: [HACKERS] Point in Time Recovery