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

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: David Fetter <david@fetter.org>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2011-06-10T05:20:25Z
Lists: pgsql-hackers
On Thu, Jun 9, 2011 at 8:59 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> David Fetter <david@fetter.org> writes:
>> The nice people at VMware, where I work, have come up with a small
>> patch to allow PITR to create a new timeline.  This is useful in cases
>> where you're using filesystem snapshots of $PGDATA which may be old.
>
> Huh?  We already start a new timeline when doing a non-crash-recovery
> replay scenario.
>
> The code looks pretty confused too, which makes it difficult to
> reverse-engineer what your point is.

I am guessing that they are taking a filesystem snapshot, and then
using that to fire up PG.  So to PG it looks like a crash recovery,
but they want a new timeline anyway.

<waves hands>

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company