| From: | Jeff Davis <jdavis(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add pg_dump --with-{schema|data|statistics} options. |
| Date: | 2025-03-26 00:38:10 |
| Message-ID: | E1txEmX-0010Ph-2u@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Add pg_dump --with-{schema|data|statistics} options.
By adding the positive variants of options, in addition to the
negative variants that already exist, users can be explicit about what
pg_dump should produce.
Discussion: https://postgr.es/m/bd0513e4b1ea2b2f2d06f02720c6579711cb62a6.camel@j-davis.com
Reviewed-by: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/bde2fb797aaebcbe06bf60f330ba5a068f17dda7
Modified Files
--------------
doc/src/sgml/ref/pg_dump.sgml | 27 ++++++++++++++++++++++
doc/src/sgml/ref/pg_dumpall.sgml | 27 ++++++++++++++++++++++
doc/src/sgml/ref/pg_restore.sgml | 27 ++++++++++++++++++++++
src/bin/pg_dump/pg_dump.c | 49 ++++++++++++++++++++++++++++++++++++----
src/bin/pg_dump/pg_dumpall.c | 15 ++++++++++++
src/bin/pg_dump/pg_restore.c | 47 +++++++++++++++++++++++++++++++++-----
src/bin/pg_dump/t/002_pg_dump.pl | 29 +++++++++++++++++++++++-
7 files changed, 210 insertions(+), 11 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2025-03-26 00:59:12 | Re: pgsql: postgres_fdw: improve security checks |
| Previous Message | Michael Paquier | 2025-03-26 00:06:50 | pgsql: Fix two issues with custom_query_jumble in gen_node_support.pl |