Re: BUG #13888: pg_dump write error - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #13888: pg_dump write error
Date
Msg-id 20160125160840.GA510163@alvherre.pgsql
Whole thread Raw
In response to BUG #13888: pg_dump write error  (kunschikov@gmail.com)
Responses Re: BUG #13888: pg_dump write error
Re: BUG #13888: pg_dump write error
List pgsql-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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #13885: float->string conversion loses precision server-side on JDBC connection
Next
From: Pavel Stehule
Date:
Subject: Re: BUG #13884: array_to_json() works incorrectly for non-0-based arrays