pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Simplify options in pg_dump and pg_restore.
Date: Sat, 02 Aug 2025 15:02:09 +0000
Message-ID: <E1uiDkO-000NWG-1v@gemulon.postgresql.org> (raw)

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

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(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1uiDkO-000NWG-1v@gemulon.postgresql.org>
Permalink:  ../E1uiDkO-000NWG-1v@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uiDkO-000NWG-1v@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Simplify options in pg_dump and pg_restore.
  In-Reply-To: <E1uiDkO-000NWG-1v@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox