Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzuH5-0004Yp-JM for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Nov 2015 22:35:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZzuH5-0003a6-55 for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Nov 2015 22:35: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 1ZzuGS-0002of-1G for pgsql-bugs@postgresql.org; Fri, 20 Nov 2015 22:34:44 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZzuGP-0007Dh-KJ for pgsql-bugs@postgresql.org; Fri, 20 Nov 2015 22:34:42 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id tAKMYYXq031557; Fri, 20 Nov 2015 17:34:34 -0500 From: Tom Lane To: John R Pierce cc: pgsql-bugs@postgresql.org Subject: Re: Confusing error message with too-large file in pg_basebackup In-reply-to: <564F9DF7.7030306@hogranch.com> 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> Comments: In-reply-to John R Pierce message dated "Fri, 20 Nov 2015 14:25:59 -0800" Date: Fri, 20 Nov 2015 17:34:34 -0500 Message-ID: <31556.1448058874@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) 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 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. 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