Add pg_dump --with-{schema|data|statistics} options.
authorJeff Davis <jdavis@postgresql.org>
Wed, 26 Mar 2025 00:36:38 +0000 (17:36 -0700)
committerJeff Davis <jdavis@postgresql.org>
Wed, 26 Mar 2025 00:36:38 +0000 (17:36 -0700)
commitbde2fb797aaebcbe06bf60f330ba5a068f17dda7
treeda5a6d7f3ce62b98dd5af915d5fe4b03632910cd
parent27ee6ede6bc9ee287f321d396c5c777083d40ecd
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.camel@j-davis.com
Reviewed-by: Corey Huinker <corey.huinker@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_dumpall.sgml
doc/src/sgml/ref/pg_restore.sgml
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dumpall.c
src/bin/pg_dump/pg_restore.c
src/bin/pg_dump/t/002_pg_dump.pl