pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Sync pg_dump and pg_dumpall output
Date: Wed, 22 Mar 2017 14:20:50 +0000
Message-ID: <E1cqh86-0003yK-OG@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Sync pg_dump and pg_dumpall output

Before exiting any files are fsync'ed. A --no-sync option is also
provided for a faster exit if desired.

Michael Paquier.

Reviewed by Albe Laurenz

Discussion: https://postgr.es/m/CAB7nPqS1uZ=Ov+UruW6jr3vB-S_DLVMPc0dQpV-fTDjmm0ZQMg@mail.gmail.com

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/96a7128b7b4c9ce4fb51df8c8b216dfab6340766

Modified Files
--------------
doc/src/sgml/ref/pg_dump.sgml         | 14 ++++++++++++++
doc/src/sgml/ref/pg_dumpall.sgml      | 14 ++++++++++++++
src/bin/pg_dump/pg_backup.h           |  2 +-
src/bin/pg_dump/pg_backup_archiver.c  | 15 ++++++++++-----
src/bin/pg_dump/pg_backup_archiver.h  |  1 +
src/bin/pg_dump/pg_backup_custom.c    |  5 +++++
src/bin/pg_dump/pg_backup_directory.c |  8 ++++++++
src/bin/pg_dump/pg_backup_tar.c       |  5 +++++
src/bin/pg_dump/pg_dump.c             | 12 ++++++++++--
src/bin/pg_dump/pg_dumpall.c          | 15 +++++++++++++++
src/common/file_utils.c               | 19 +++++++++++++++++++
src/include/common/file_utils.h       |  1 +
12 files changed, 103 insertions(+), 8 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 (10+ messages)  latest in thread

Message-ID: <E1cqh86-0003yK-OG@gemulon.postgresql.org>
Permalink:  ../E1cqh86-0003yK-OG@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1cqh86-0003yK-OG@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net
  Subject: Re: pgsql: Sync pg_dump and pg_dumpall output
  In-Reply-To: <E1cqh86-0003yK-OG@gemulon.postgresql.org>
  References: <E1cqh86-0003yK-OG@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