Add ArchiveOpts to pass options to ArchiveEntry
Alvaro Herrera <alvherre@alvh.no-ip.org>
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
| Path | Change | +/− |
|---|---|---|
| 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
- ArchiveEntry optional arguments refactoring 28 messages · 2019-01-16 → 2019-02-01