Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a05mL-0005vF-Gq for pgsql-bugs@arkaria.postgresql.org; Sat, 21 Nov 2015 10:52:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a05mJ-0003IR-R3 for pgsql-bugs@arkaria.postgresql.org; Sat, 21 Nov 2015 10:52:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a05mI-0003Hx-8v for pgsql-bugs@postgresql.org; Sat, 21 Nov 2015 10:52:22 +0000 Received: from c.mail.sonic.net ([64.142.111.80]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a05m9-0005hy-SU for pgsql-bugs@postgresql.org; Sat, 21 Nov 2015 10:52:20 +0000 Received: from engels (162-236-13-58.lightspeed.sntcca.sbcglobal.net [162.236.13.58]) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id tALAqAI4013342 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA256 bits=128 verify=NOT) for ; Sat, 21 Nov 2015 02:52:10 -0800 Date: Sat, 21 Nov 2015 02:52:16 -0800 From: David Gould To: pgsql-bugs@postgresql.org Subject: Re: Confusing error message with too-large file in pg_basebackup Message-ID: <20151121025216.49ea8e46@engels> In-Reply-To: References: <564E6B2F.0@agliodbs.com> <11737.1447994494@sss.pgh.pa.us> <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> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVZ/iUgAQQa7fOEJhVEOkIrcqxgoXsP9FuxQOj7hA3JvNzeVTFR8U/B3D5YOgs6e5dnYmXPol3Tmydb/DL6lNWwz X-Sonic-ID: C;uoxG6j2Q5RGS+L0U9jFv0A== M;TAB96j2Q5RGS+L0U9jFv0A== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Sat, 21 Nov 2015 14:16:56 +0900 Michael Paquier wrote: > On Sat, Nov 21, 2015 at 7:34 AM, Tom Lane wrote: > > John R Pierce 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.'. > > 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