Simplify options in pg_dump and pg_restore.
authorJeff Davis <[email protected]>
Sat, 2 Aug 2025 14:51:42 +0000 (07:51 -0700)
committerJeff Davis <[email protected]>
Sat, 2 Aug 2025 14:51:42 +0000 (07:51 -0700)
commit6a46089e458f2d700dd3b8c3f6fc782de933529a
treee06f3c51fde965d5edffe37b70c0f59907d5cd25
parent2106fe25a1c025a75effb7fefcbd47c68d4b9914
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 <[email protected]>
Reviewed-by: Fujii Masao <[email protected]>
Discussion: https://postgr.es/m/f379d0aeefe8effe13302a436bc28f549f09e924[email protected]
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