From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: kunschikov@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13888: pg_dump write error
Date: Mon, 25 Jan 2016 13:08:40 -0300
Message-ID: <20160125160840.GA510163@alvherre.pgsql> (raw)
In-Reply-To: <20160125143008.2539.2878@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
kunschikov@gmail.com wrote:
> Database backup in heavy loaded environment sometimes fails with the
> following error:
>
> pg_dump: [parallel archiver] could not write to output file: Success
>
> Subsequent rerun of the pg_dump solves that problem.
> More elegant and reliable solution: WRITE_ERROR_EXIT macro replacement in
> ahwrite() function at src/bin/pg_dump/pg_backup_archiver.c source file.
> There can be some error checking instead of this macro.
Yeah, I noticed this and similar lacks of error checks in pg_dump in
code review, which I didn't get around to patching. Care to submit a
patch?
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
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: alvherre@2ndquadrant.com, kunschikov@gmail.com
Subject: Re: BUG #13888: pg_dump write error
In-Reply-To: <20160125160840.GA510163@alvherre.pgsql>
References: <20160125143008.2539.2878@wrigleys.postgresql.org> <20160125160840.GA510163@alvherre.pgsql>
* 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