Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzdWj-0004AA-Cf for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Nov 2015 04:42:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZzdWi-0005jK-MO for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Nov 2015 04:42:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZzdW6-00052T-Oa for pgsql-bugs@postgresql.org; Fri, 20 Nov 2015 04:41:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZzdW0-00038i-2b for pgsql-bugs@postgresql.org; Fri, 20 Nov 2015 04:41:46 +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 tAK4fYoH011738; Thu, 19 Nov 2015 23:41:34 -0500 From: Tom Lane To: Michael Paquier cc: Josh Berkus , PostgreSQL Bugs Subject: Re: Confusing error message with too-large file in pg_basebackup In-reply-to: References: <564E6B2F.0@agliodbs.com> Comments: In-reply-to Michael Paquier message dated "Fri, 20 Nov 2015 13:16:07 +0900" Date: Thu, 19 Nov 2015 23:41:34 -0500 Message-ID: <11737.1447994494@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 Michael Paquier writes: > On Fri, Nov 20, 2015 at 9:37 AM, Josh Berkus wrote: >> pg_basebackup: could not get transaction log end position from server: >> ERROR: archive member "core" too large for tar format > That's a backend-side error. >> This was very confusing to the user, because they weren't requesting tar >> format, and even setting -Fp got the same error message. I can only >> hypothesize that tar is used somewhere under the hood. > Exactly, when a base backup is taken through the replication protocol, > backend always sends it in tar format for performance reasons. It is > then up to pg_basebackup to decide if the output should be untared or > not. It's not unreasonable for pg_basebackup to use tar format, because the size limitation should not be an issue for files that are expected to be in a data directory. Leftover core dump files are unexpected :-(. I wonder if we could put some sort of filter into pg_basebackup so it would skip this sort of thing. 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