Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Yi1t2-0003Hj-Rx for pgsql-committers@arkaria.postgresql.org; Tue, 14 Apr 2015 14:32:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Yi1t2-0005XW-A2 for pgsql-committers@arkaria.postgresql.org; Tue, 14 Apr 2015 14:32:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yi1t0-0005XJ-FW for pgsql-committers@postgresql.org; Tue, 14 Apr 2015 14:32:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Yi1sw-0000Gq-Oz for pgsql-committers@postgresql.org; Tue, 14 Apr 2015 14:32:21 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id t3EEW6Oo028691; Tue, 14 Apr 2015 10:32:06 -0400 From: Tom Lane To: hlinnaka@iki.fi cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Don't archive bogus recycled or preallocated files after timelin In-reply-to: <552CB5E4.8050207@iki.fi> References: <2414.1428967455@sss.pgh.pa.us> <552CB5E4.8050207@iki.fi> Comments: In-reply-to Heikki Linnakangas message dated "Tue, 14 Apr 2015 09:38:28 +0300" Date: Tue, 14 Apr 2015 10:32:06 -0400 Message-ID: <2843.1429021926@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Heikki Linnakangas writes: > On 04/14/2015 02:24 AM, Tom Lane wrote: >> Wait a minute. Didn't you just break PITR scenarios? The *entire point* >> of the multiple-timeline mechanism is that you can start a new WAL history >> from a point in the past without destroying WAL history after that point >> on the old timeline. > It deletes the files belonging to other timelines from pg_xlog only. The > WAL archive is not touched. How do we know those files are in the WAL archive? regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers