pgsql: Add pg_dump --with-{schema|data|statistics} options. - Mailing list pgsql-committers

From Jeff Davis
Subject pgsql: Add pg_dump --with-{schema|data|statistics} options.
Date
Msg-id E1txEmX-0010Ph-2u@gemulon.postgresql.org
Whole thread Raw
List 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.huinker@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Fix two issues with custom_query_jumble in gen_node_support.pl
Next
From: Tom Lane
Date:
Subject: Re: pgsql: postgres_fdw: improve security checks