Simplify options in pg_dump and pg_restore.
Jeff Davis <jdavis@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_dumpall.sgml | modified | +10 −28 |
| doc/src/sgml/ref/pg_dump.sgml | modified | +10 −28 |
| doc/src/sgml/ref/pg_restore.sgml | modified | +10 −30 |
| src/bin/pg_dump/pg_dumpall.c | modified | +3 −13 |
| src/bin/pg_dump/pg_dump.c | modified | +11 −32 |
| src/bin/pg_dump/pg_restore.c | modified | +11 −24 |
| src/bin/pg_dump/t/002_pg_dump.pl | modified | +62 −62 |
| src/bin/pg_upgrade/dump.c | modified | +1 −1 |
Documentation touched
Discussion
- pg_dump --with-* options 72 messages · 2025-06-06 → 2025-08-02