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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f831d4accda00b9144bc647ede2e2f848b59f39d
Modified Files
--------------
src/bin/pg_dump/pg_backup_archiver.c | 117 ++---
src/bin/pg_dump/pg_backup_archiver.h | 30 +-
src/bin/pg_dump/pg_dump.c | 952 +++++++++++++++++------------------
3 files changed, 522 insertions(+), 577 deletions(-)