Add pg_dump --with-{schema|data|statistics} options.
Jeff Davis <jdavis@postgresql.org>
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>
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_dumpall.sgml | modified | +27 −0 |
| doc/src/sgml/ref/pg_dump.sgml | modified | +27 −0 |
| doc/src/sgml/ref/pg_restore.sgml | modified | +27 −0 |
| src/bin/pg_dump/pg_dumpall.c | modified | +15 −0 |
| src/bin/pg_dump/pg_dump.c | modified | +45 −4 |
| src/bin/pg_dump/pg_restore.c | modified | +41 −6 |
| src/bin/pg_dump/t/002_pg_dump.pl | modified | +28 −1 |
Documentation touched
Discussion
- Statistics Import and Export 555 messages · 2023-08-31 → 2025-05-22