From: Josh Berkus <josh@agliodbs.com>
To: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: Confusing error message with too-large file in pg_basebackup
Date: Thu, 19 Nov 2015 16:37:03 -0800
Message-ID: <564E6B2F.0@agliodbs.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: josh@agliodbs.com
Subject: Re: Confusing error message with too-large file in pg_basebackup
In-Reply-To: <564E6B2F.0@agliodbs.com>
References: <564E6B2F.0@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox