public inbox for [email protected]  
help / color / mirror / Atom feed
From: Nathan Bossart <[email protected]>
To: [email protected]
Subject: pgsql: pg_dump: Add --sequence-data.
Date: Tue, 25 Mar 2025 21:03:37 +0000
Message-ID: <[email protected]> (raw)

pg_dump: Add --sequence-data.

This new option instructs pg_dump to dump sequence data when the
--no-data, --schema-only, or --statistics-only option is specified.
This was originally considered for commit a7e5457db8, but it was
left out at that time because there was no known use-case.  A
follow-up commit will use this to optimize pg_upgrade's file
transfer step.

Reviewed-by: Robert Haas <[email protected]>
Discussion: https://postgr.es/m/Zyvop-LxLXBLrZil%40nathan

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9c49f0e8cd7d59e240f5da88decf2d62d8a4ad0d

Modified Files
--------------
doc/src/sgml/ref/pg_dump.sgml               | 11 +++++++++++
src/bin/pg_dump/pg_dump.c                   | 10 ++--------
src/bin/pg_dump/t/002_pg_dump.pl            |  1 +
src/bin/pg_upgrade/dump.c                   |  2 +-
src/test/modules/test_pg_dump/t/001_base.pl |  2 +-
5 files changed, 16 insertions(+), 10 deletions(-)



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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: pg_dump: Add --sequence-data.
  In-Reply-To: <[email protected]>

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

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