Simplify options in pg_dump and pg_restore.
authorJeff Davis <jdavis@postgresql.org>
Sat, 2 Aug 2025 14:51:35 +0000 (07:51 -0700)
committerJeff Davis <jdavis@postgresql.org>
Sat, 2 Aug 2025 14:51:35 +0000 (07:51 -0700)
commita3e8dc14386221e2db0fe92589327c5b2dea22af
tree43b9732f84e48e226fbb9611a75c15d147edcc09
parentd0c12b98f2bf741a57915bd59084b16fd03d1468
Simplify options in pg_dump and pg_restore.

Remove redundant options --with-data and --with-schema, and rename
--with-statistics to just --statistics.

Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/f379d0aeefe8effe13302a436bc28f549f09e924.camel@j-davis.com
Backpatch-through: 18
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
src/bin/pg_upgrade/dump.c