pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Mike Cardwell <mike.cardwell@hardenize.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: pg_basebackup failed to read a file
Date: Tue, 14 Aug 2018 11:37:27 -0700
Message-ID: <0e4297d8-5399-8489-6f58-12c3607cbc79@commandprompt.com> (raw)
In-Reply-To: <1887.1534263299@sss.pgh.pa.us>
References: <1534256304.6834.4.camel@hardenize.com>
	<1887.1534263299@sss.pgh.pa.us>

On 08/14/2018 09:14 AM, Tom Lane wrote:
> Mike Cardwell <mike.cardwell@hardenize.com> 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.   *****





view thread (7+ messages)  latest in thread

Message-ID: <0e4297d8-5399-8489-6f58-12c3607cbc79@commandprompt.com>
Permalink:  ../0e4297d8-5399-8489-6f58-12c3607cbc79@commandprompt.com/
Also on:    postgresql.org/message-id/0e4297d8-5399-8489-6f58-12c3607cbc79@commandprompt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: jd@commandprompt.com, tgl@sss.pgh.pa.us, mike.cardwell@hardenize.com
  Subject: Re: pg_basebackup failed to read a file
  In-Reply-To: <0e4297d8-5399-8489-6f58-12c3607cbc79@commandprompt.com>
  References: <1534256304.6834.4.camel@hardenize.com> <1887.1534263299@sss.pgh.pa.us> <0e4297d8-5399-8489-6f58-12c3607cbc79@commandprompt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox