pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: John R Pierce <pierce@hogranch.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Confusing error message with too-large file in pg_basebackup
Date: Fri, 20 Nov 2015 17:13:09 -0500
Message-ID: <30859.1448057589@sss.pgh.pa.us> (raw)
In-Reply-To: <564F96FB.7090305@hogranch.com>
References: <564E6B2F.0@agliodbs.com>
	<CAB7nPqQjk-KYXfJWYKnySM_k14-5JsU0dEJt+q9ch+X0qbg1SA@mail.gmail.com>
	<11737.1447994494@sss.pgh.pa.us>
	<CAB7nPqSzp1Z3vEzLyT=79xdiCf2mctSj8CpV1bRje+=ghmTQ0w@mail.gmail.com>
	<CAECtzeWnJ3P9nN0US7aWTmBtEX1j+_OYSUMQRaChfgucNfqWQw@mail.gmail.com>
	<20151120123359.GO614468@alvherre.pgsql>
	<27295.1448050812@sss.pgh.pa.us>
	<564F96FB.7090305@hogranch.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

John R Pierce <pierce@hogranch.com> writes:
> We still shouldn't be dumping core files as part of a pg_basebackup...   

It'd be reasonable to skip 'em if we can identify 'em reliably.  I'm
not sure how reliably we can do that though.

> but then, why was the core file even IN the $PGDATA directory, shouldn't 
> it have been in some other dir, like the postgres daemon user's $HOME ?

No, that's standard behavior.  (I know of no Unix-oid system that dumps
cores into your $HOME by default; it's normally either $PWD or some
reserved directory like /cores.)

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (23+ messages)  latest in thread

Message-ID: <30859.1448057589@sss.pgh.pa.us>
Permalink:  ../30859.1448057589@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/30859.1448057589@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pierce@hogranch.com
  Subject: Re: Confusing error message with too-large file in pg_basebackup
  In-Reply-To: <30859.1448057589@sss.pgh.pa.us>
  References: <564E6B2F.0@agliodbs.com> <CAB7nPqQjk-KYXfJWYKnySM_k14-5JsU0dEJt+q9ch+X0qbg1SA@mail.gmail.com> <11737.1447994494@sss.pgh.pa.us> <CAB7nPqSzp1Z3vEzLyT=79xdiCf2mctSj8CpV1bRje+=ghmTQ0w@mail.gmail.com> <CAECtzeWnJ3P9nN0US7aWTmBtEX1j+_OYSUMQRaChfgucNfqWQw@mail.gmail.com> <20151120123359.GO614468@alvherre.pgsql> <27295.1448050812@sss.pgh.pa.us> <564F96FB.7090305@hogranch.com> <30859.1448057589@sss.pgh.pa.us>

* 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