Confusing error message with too-large file in pg_basebackup

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Confusing error message with too-large file in pg_basebackup
Date: 2015-11-20 00:37:03
Message-ID: 564E6B2F.0@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2015-11-20 04:16:07 Re: Confusing error message with too-large file in pg_basebackup
Previous Message Kouadio denis KOFFI 2015-11-19 16:27:19 Fwd: request