Simplify options in pg_dump and pg_restore.

Jeff Davis <jdavis@postgresql.org>

Commit: a3e8dc14386221e2db0fe92589327c5b2dea22af
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2025-08-02T14:51:35Z
Releases: 18.0
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

Documentation touched

Discussion