Thread: pgsql: Invent on_exit_nicely for pg_dump.

pgsql: Invent on_exit_nicely for pg_dump.

From
Robert Haas
Date:
Invent on_exit_nicely for pg_dump.

Per recent discussions on pgsql-hackers regarding parallel pg_dump.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e9a22259c45e235aaa30f0d068f767d9c0f818a0

Modified Files
--------------
src/bin/pg_dump/common.c              |    6 +-
src/bin/pg_dump/compress_io.c         |   27 +++---
src/bin/pg_dump/dumputils.c           |   34 +++++++-
src/bin/pg_dump/dumputils.h           |    4 +
src/bin/pg_dump/pg_backup.h           |    6 +-
src/bin/pg_dump/pg_backup_archiver.c  |   16 +---
src/bin/pg_dump/pg_backup_db.c        |    9 ++
src/bin/pg_dump/pg_backup_directory.c |   17 ++--
src/bin/pg_dump/pg_backup_files.c     |   16 ++--
src/bin/pg_dump/pg_backup_tar.c       |   24 +++---
src/bin/pg_dump/pg_dump.c             |  151 ++++++++++++++++-----------------
src/bin/pg_dump/pg_dump.h             |    2 -
src/bin/pg_dump/pg_dumpall.c          |   48 +++++-----
src/bin/pg_dump/pg_restore.c          |   18 ++--
14 files changed, 207 insertions(+), 171 deletions(-)