Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZztwN-0003bm-FX for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Nov 2015 22:13:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZztwM-0001nI-Qc for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Nov 2015 22:13:58 +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 1Zztvj-00016f-TV for pgsql-bugs@postgresql.org; Fri, 20 Nov 2015 22:13:20 +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 1Zztvh-0006p4-Be for pgsql-bugs@postgresql.org; Fri, 20 Nov 2015 22:13:18 +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 tAKMD9Zx030860; Fri, 20 Nov 2015 17:13:09 -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: <564F96FB.7090305@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> Comments: In-reply-to John R Pierce message dated "Fri, 20 Nov 2015 13:56:11 -0800" Date: Fri, 20 Nov 2015 17:13:09 -0500 Message-ID: <30859.1448057589@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: > 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