From: | Simon Riggs <simon(at)2ndquadrant(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Mark Kirkwood <markir(at)coretech(dot)co(dot)nz>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Point in Time Recovery |
Date: | 2004-07-22 23:48:34 |
Message-ID: | 1090540113.3057.17.camel@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-hackers pgsql-patches |
On Thu, 2004-07-22 at 21:19, Tom Lane wrote:
> Mark Kirkwood <markir(at)coretech(dot)co(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Mark Kirkwood | 2004-07-23 00:05:13 | Re: [HACKERS] Point in Time Recovery |
Previous Message | bcscomputers | 2004-07-22 23:33:33 |
From | Date | Subject | |
---|---|---|---|
Next Message | elein | 2004-07-22 23:57:13 | Re: Tutorial |
Previous Message | Peter Eisentraut | 2004-07-22 23:22:49 | Re: Tutorial |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-07-22 23:53:22 | Re: initdb authentication |
Previous Message | Peter Eisentraut | 2004-07-22 23:26:53 | Re: initdb authentication |