pgsql: Sync pg_dump and pg_dumpall output

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Sync pg_dump and pg_dumpall output
Date: 2017-03-22 14:20:50
Message-ID: E1cqh86-0003yK-OG@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-03-22 15:19:53 pgsql: Change logical replication pg_hba.conf use
Previous Message Alvaro Herrera 2017-03-22 14:13:05 Re: Re: [COMMITTERS] pgsql: Fix and simplify check for whether we're running as Windows serv

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2017-03-22 14:29:27 Re: increasing the default WAL segment size
Previous Message Mithun Cy 2017-03-22 14:20:44 Re: Patch: Write Amplification Reduction Method (WARM)