Re: pg_basebackup from cascading standby after timeline switch
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Fujii Masao <masao.fujii@gmail.com>
Cc: Simon Riggs <simon@2ndquadrant.com>, Heikki Linnakangas <hlinnakangas@vmware.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2012-12-18T18:21:14Z
Lists: pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes: > On Tue, Dec 18, 2012 at 8:09 PM, Simon Riggs <simon@2ndquadrant.com> wrote: >> What I'm saying is that the new history file is created from the old >> one, so the latest file includes all the history as a direct copy. The >> only thing new is one line of information. > The timeline history file includes only ancestor timelines history. So > the latest one might not include all the history. Indeed. And even if there are a thousand of them, so what? It'd still be less space than a single WAL segment file. Better to keep the data than wish we had it later. regards, tom lane