pgsql: Properly detect read and write errors in pg_dump/dumpall, and pg

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Properly detect read and write errors in pg_dump/dumpall, and pg
Date: 2014-05-06 00:27:21
Message-ID: E1WhTE9-0002Q2-U0@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Properly detect read and write errors in pg_dump/dumpall, and pg_restore

Previously some I/O errors were ignored.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/14ea89366fe321609afc5838ff9fe2ded1cd707d

Modified Files
--------------
src/bin/pg_dump/compress_io.c | 82 +++++++++++++++++++-----------
src/bin/pg_dump/compress_io.h | 4 +-
src/bin/pg_dump/pg_backup.h | 4 +-
src/bin/pg_dump/pg_backup_archiver.c | 83 ++++++++++++++-----------------
src/bin/pg_dump/pg_backup_archiver.h | 26 ++++++++--
src/bin/pg_dump/pg_backup_custom.c | 88 ++++++++++++++-------------------
src/bin/pg_dump/pg_backup_db.c | 2 +-
src/bin/pg_dump/pg_backup_directory.c | 51 +++++++++----------
src/bin/pg_dump/pg_backup_null.c | 21 ++++----
src/bin/pg_dump/pg_backup_tar.c | 83 ++++++++++++++++++-------------
10 files changed, 237 insertions(+), 207 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-05-06 00:34:33 Re: pgsql: Replace SYSTEMQUOTEs with Windows-specific wrapper functions.
Previous Message Bruce Momjian 2014-05-06 00:25:32 pgsql: Update 9.4 release notes for queryid control