Add ArchiveOpts to pass options to ArchiveEntry

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: f831d4accda00b9144bc647ede2e2f848b59f39d
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2019-02-01T14:29:42Z
Releases: 12.0
Add ArchiveOpts to pass options to ArchiveEntry

The ArchiveEntry function has a number of arguments that can be
considered optional.  Split them out into a separate struct, to make the
API more flexible for changes.

Author: Dmitry Dolgov
Discussion: https://postgr.es/m/CA+q6zcXRxPE+qp6oerQWJ3zS061WPOhdxeMrdc-Yf-2V5vsrEw@mail.gmail.com

Files

PathChange+/−
src/bin/pg_dump/pg_backup_archiver.c modified +50 −67
src/bin/pg_dump/pg_backup_archiver.h modified +20 −10
src/bin/pg_dump/pg_dump.c modified +452 −500

Discussion