Add pg_dump --with-{schema|data|statistics} options. By adding the positive variants of options, in addition to the negative variants that already exist, users can be explicit about what pg_dump should produce.
Discussion: https://postgr.es/m/bd0513e4b1ea2b2f2d06f02720c6579711cb62a6.ca...@j-davis.com Reviewed-by: Corey Huinker <corey.huin...@gmail.com> Reviewed-by: Andres Freund <and...@anarazel.de> Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/bde2fb797aaebcbe06bf60f330ba5a068f17dda7 Modified Files -------------- doc/src/sgml/ref/pg_dump.sgml | 27 ++++++++++++++++++++++ doc/src/sgml/ref/pg_dumpall.sgml | 27 ++++++++++++++++++++++ doc/src/sgml/ref/pg_restore.sgml | 27 ++++++++++++++++++++++ src/bin/pg_dump/pg_dump.c | 49 ++++++++++++++++++++++++++++++++++++---- src/bin/pg_dump/pg_dumpall.c | 15 ++++++++++++ src/bin/pg_dump/pg_restore.c | 47 +++++++++++++++++++++++++++++++++----- src/bin/pg_dump/t/002_pg_dump.pl | 29 +++++++++++++++++++++++- 7 files changed, 210 insertions(+), 11 deletions(-)