pgsql: Simplify options in pg_dump and pg_restore.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Simplify options in pg_dump and pg_restore.
Date: 2025-08-02 15:02:09
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)com>
Reviewed-by: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 18

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6a46089e458f2d700dd3b8c3f6fc782de933529a

Modified Files
--------------
doc/src/sgml/ref/pg_dump.sgml | 38 ++++--------
doc/src/sgml/ref/pg_dumpall.sgml | 38 ++++--------
doc/src/sgml/ref/pg_restore.sgml | 40 ++++---------
src/bin/pg_dump/pg_dump.c | 43 ++++----------
src/bin/pg_dump/pg_dumpall.c | 16 +----
src/bin/pg_dump/pg_restore.c | 35 ++++-------
src/bin/pg_dump/t/002_pg_dump.pl | 124 +++++++++++++++++++--------------------
src/bin/pg_upgrade/dump.c | 2 +-
8 files changed, 118 insertions(+), 218 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2025-08-02 15:02:15 pgsql: Simplify options in pg_dump and pg_restore.
Previous Message Michael Paquier 2025-08-02 10:54:46 pgsql: Fix typo in foreign_key.sql