Re: [v9.2] Start new timeline for PITR

Josh Berkus <josh@agliodbs.com>

From: Josh Berkus <josh@agliodbs.com>
To: pgsql-hackers@postgresql.org
Date: 2011-06-10T18:53:49Z
Lists: pgsql-hackers
David,

> Let's imagine we're taking filesystem snapshots each day by whatever
> means.  We're also archiving xlogs, but only have space for 48 hours'
> worth.  Now we want to recover to 3 days ago, but there are no WALs
> from that time, so we do a crash recovery from the filesystem
> snapshot.  Doing continuous archiving from this conflicts with the
> existing WALs, which we solve by creating a new timeline.

How is this different from just changing the recovery_command?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com