pg_dump: Add --sequence-data.
Nathan Bossart <nathan@postgresql.org>
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 <robertmhaas@gmail.com> Discussion: https://postgr.es/m/Zyvop-LxLXBLrZil%40nathan
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_dump.sgml | modified | +11 −0 |
| src/bin/pg_dump/pg_dump.c | modified | +2 −8 |
| src/bin/pg_dump/t/002_pg_dump.pl | modified | +1 −0 |
| src/bin/pg_upgrade/dump.c | modified | +1 −1 |
| src/test/modules/test_pg_dump/t/001_base.pl | modified | +1 −1 |
Documentation touched
Discussion
- optimize file transfer in pg_upgrade 45 messages · 2024-11-06 → 2025-12-28