Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZzZi8-0000Sq-2y for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Nov 2015 00:37:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZzZi6-0005Xn-Hy for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Nov 2015 00:37:54 +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 1ZzZhT-0004rT-ME for pgsql-bugs@postgresql.org; Fri, 20 Nov 2015 00:37:15 +0000 Received: from mx-out.zmailcloud.com ([192.198.85.98] helo=mx-out-1.zmailcloud.com) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZzZhL-0006Dx-Bx for pgsql-bugs@postgresql.org; Fri, 20 Nov 2015 00:37:14 +0000 Received: from smtp.01.com (smtp.01.com [10.10.0.43]) by mx-out-1.zmailcloud.com (Postfix) with ESMTP id 3E29F563DFD for ; Thu, 19 Nov 2015 18:37:05 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 2661FA03C1 for ; Thu, 19 Nov 2015 18:37:05 -0600 (CST) X-Virus-Scanned: amavisd-new at smtp-out-1.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-1.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LQ4y5viVaayw for ; Thu, 19 Nov 2015 18:37:05 -0600 (CST) Received: from smtp.01.com (localhost [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id DD3D1A0285 for ; Thu, 19 Nov 2015 18:37:04 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id A1A51A0326 for ; Thu, 19 Nov 2015 18:37:04 -0600 (CST) X-Virus-Scanned: amavisd-new at smtp-out-1.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-1.01.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id qCZ9C4805Srg for ; Thu, 19 Nov 2015 18:37:04 -0600 (CST) Received: from [172.47.23.103] (50-0-190-244.dsl.dynamic.fusionbroadband.com [50.0.190.244]) by smtp-out-1.01.com (Postfix) with ESMTPSA id 4A51EA0285 for ; Thu, 19 Nov 2015 18:37:04 -0600 (CST) To: PostgreSQL Bugs From: Josh Berkus Subject: Confusing error message with too-large file in pg_basebackup Organization: PostgreSQL Experts Inc. Message-ID: <564E6B2F.0@agliodbs.com> Date: Thu, 19 Nov 2015 16:37:03 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 Version: 9.4.5 Summary: confusing error message for too-large file failure in pg_basebackup Details: 1. PostgreSQL previously core dumped on this system and left behind a 9gb core file, which was never deleted. 2. Attempted to pg_basebackup the server. 3. Got this error message: pg_basebackup: could not get transaction log end position from server: ERROR: archive member "core" too large for tar format 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. pg_basebackup doesn't need to work under these circumstances, but maybe we could give a less baffling error message? -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs