pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Mark Kirkwood <markir@coretech.co.nz>
Cc: pgsql-admin@postgresql.org
Subject: Re: [HACKERS] Point in Time Recovery
Date: Fri, 23 Jul 2004 00:48:34 +0100
Message-ID: <1090540113.3057.17.camel@localhost.localdomain> (raw)
In-Reply-To: <12173.1090527593@sss.pgh.pa.us>
References: <200407132242.i6DMgg612564@candle.pha.pa.us>
	<1089760416.17493.3327.camel@stromboli>
	<40F49AE9.2060805@familyhealth.com.au>
	<1089789682.17493.3890.camel@stromboli>
	<40FF1D88.30404@coretech.co.nz>
	<12173.1090527593@sss.pgh.pa.us>

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




view thread (111+ messages)  latest in thread

Message-ID: <1090540113.3057.17.camel@localhost.localdomain>
Permalink:  ../1090540113.3057.17.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1090540113.3057.17.camel@localhost.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: simon@2ndquadrant.com, tgl@sss.pgh.pa.us, markir@coretech.co.nz
  Subject: Re: [HACKERS] Point in Time Recovery
  In-Reply-To: <1090540113.3057.17.camel@localhost.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox