| From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
|---|---|
| To: | kunschikov(at)gmail(dot)com |
| Cc: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: BUG #13888: pg_dump write error |
| Date: | 2016-01-25 16:08:40 |
| Message-ID: | 20160125160840.GA510163@alvherre.pgsql |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
kunschikov(at)gmail(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pavel Stehule | 2016-01-25 16:28:02 | Re: BUG #13884: array_to_json() works incorrectly for non-0-based arrays |
| Previous Message | Tom Lane | 2016-01-25 16:06:45 | Re: BUG #13885: float->string conversion loses precision server-side on JDBC connection |