pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Gould <daveg@sonic.net>
To: pgsql-bugs@postgresql.org
Subject: Re: Confusing error message with too-large file in pg_basebackup
Date: Sat, 21 Nov 2015 02:52:16 -0800
Message-ID: <20151121025216.49ea8e46@engels> (raw)
In-Reply-To: <CAB7nPqThD70_X0xUHwrVo4kYUXndgmxJ1uoP7eB2T36UWsLpBg@mail.gmail.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>
	<30859.1448057589@sss.pgh.pa.us>
	<564F9DF7.7030306@hogranch.com>
	<31556.1448058874@sss.pgh.pa.us>
	<CAB7nPqThD70_X0xUHwrVo4kYUXndgmxJ1uoP7eB2T36UWsLpBg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Sat, 21 Nov 2015 14:16:56 +0900
Michael Paquier <michael.paquier@gmail.com> wrote:

> On Sat, Nov 21, 2015 at 7:34 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > John R Pierce <pierce@hogranch.com> writes:
> >> On 11/20/2015 2:13 PM, Tom Lane wrote:
> >>> It'd be reasonable to skip 'em if we can identify 'em reliably.  I'm
> >>> not sure how reliably we can do that though.
> >
> >> aren't they nearly always named 'core' ?
> >
> > No.  Modern systems more often call them something like 'core.<pid>'.
> > What really makes it messy is that the name is user-configurable on
> > most Linux kernels, see /proc/sys/kernel/core_pattern.
> >
> > We could probably get away with excluding anything that matches "*core*",
> > but it wouldn't be bulletproof.
> 
> It does not look like a good idea to me. I have no doubts that there
> are deployments including configuration files with such abbreviations
> in PGDATA.

Perhaps matching *core* and size > 100MB or so would cover that.

-dg


-- 
David Gould              510 282 0869         daveg@sonic.net
If simplicity worked, the world would be overrun with insects.


-- 
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: <20151121025216.49ea8e46@engels>
Permalink:  ../20151121025216.49ea8e46@engels/
Also on:    postgresql.org/message-id/20151121025216.49ea8e46@engels

 · 

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: daveg@sonic.net
  Subject: Re: Confusing error message with too-large file in pg_basebackup
  In-Reply-To: <20151121025216.49ea8e46@engels>
  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> <564F9DF7.7030306@hogranch.com> <31556.1448058874@sss.pgh.pa.us> <CAB7nPqThD70_X0xUHwrVo4kYUXndgmxJ1uoP7eB2T36UWsLpBg@mail.gmail.com> <20151121025216.49ea8e46@engels>

* 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