pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Properly detect read and write errors in pg_dump/dumpall, and pg
Date: Tue, 06 May 2014 00:27:21 +0000
Message-ID: <E1WhTE9-0002Q2-U0@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (3+ messages)  latest in thread

Message-ID: <E1WhTE9-0002Q2-U0@gemulon.postgresql.org>
Permalink:  ../E1WhTE9-0002Q2-U0@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1WhTE9-0002Q2-U0@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: bruce@momjian.us
  Subject: Re: pgsql: Properly detect read and write errors in pg_dump/dumpall, and pg
  In-Reply-To: <E1WhTE9-0002Q2-U0@gemulon.postgresql.org>

* 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