Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpeCJ-0007EC-T4 for pgsql-general@arkaria.postgresql.org; Tue, 14 Aug 2018 18:37:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fpeCH-0001cN-A1 for pgsql-general@arkaria.postgresql.org; Tue, 14 Aug 2018 18:37:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpeCH-0001cG-2G for pgsql-general@lists.postgresql.org; Tue, 14 Aug 2018 18:37:37 +0000 Received: from lists.commandprompt.com ([69.168.55.30]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fpeCC-00047l-5u for pgsql-general@lists.postgresql.org; Tue, 14 Aug 2018 18:37:35 +0000 Received: from [10.8.7.11] (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id 2DCE7848; Tue, 14 Aug 2018 11:37:28 -0700 (PDT) Received: from cmdalert.com ([69.55.231.170] helo=[10.8.7.11]) by assp.commandprompt.com with SMTPSA(TLSv1_2 ECDHE-RSA-AES128-GCM-SHA256) (2.5.1); 14 Aug 2018 11:37:27 -0700 Subject: Re: pg_basebackup failed to read a file To: Tom Lane , Mike Cardwell Cc: pgsql-general@lists.postgresql.org References: <1534256304.6834.4.camel@hardenize.com> <1887.1534263299@sss.pgh.pa.us> From: "Joshua D. Drake" Organization: Command Prompt, Inc. Message-ID: <0e4297d8-5399-8489-6f58-12c3607cbc79@commandprompt.com> Date: Tue, 14 Aug 2018 11:37:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1887.1534263299@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Assp-Version: 2.5.1(16177) on assp.commandprompt.com X-Assp-ID: assp.commandprompt.com m1-71848-11635 X-Assp-Session: 7F901836C5D0 (mail 1) X-Assp-Original-Subject: Re: pg_basebackup failed to read a file X-Assp-Client-SSL: yes List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 08/14/2018 09:14 AM, Tom Lane wrote: > Mike Cardwell writes: > > It'd be nice to have a more coherent theory about what needs to be copied > or not, and not fail on files that could simply be ignored. Up to now > we've resisted having any centrally defined knowledge of what can be > inside a PG data directory, but maybe that bullet needs to be bitten. This is not the first time, nor the second time this issue has arisen. I would think we would know that a coherent theory or at least semi-coherent theory would be pretty easy to resolve. Granted, we can't reasonably know what is going on under base but under the / of PGDATA, we know *exactly* what files should and should not be in there. JD -- Command Prompt, Inc. || http://the.postgres.company/ || @cmdpromptinc *** A fault and talent of mine is to tell it exactly how it is. *** PostgreSQL centered full stack support, consulting and development. Advocate: @amplifypostgres || Learn: https://postgresconf.org ***** Unless otherwise stated, opinions are my own. *****