Docs: consolidate dependency notes in pg_dump and pg_restore

The pg_dump documentation had repetitive notes for the --schema,
--table, and --extension switches, noting that dependent database
objects are not automatically included in the dump.  This commit removes
these notes and replaces them with a consolidated paragraph in the
"Notes" section.

pg_restore had a similar note for -t but lacked one for -n; do likewise.

Also, add a note to --extension in pg_dump to note that ancillary files
(such as shared libraries and control files) are not included in the
dump and must be present on the destination system.

Author: Florents Tselai <[email protected]>
Reviewed-by: Tom Lane <[email protected]>
Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/78bf28e3bf504db0eea5e3bcb3c43e9908108480

Modified Files
--------------
doc/src/sgml/ref/pg_dump.sgml    | 41 +++++++++++++++-------------------------
doc/src/sgml/ref/pg_restore.sgml | 20 ++++++++++----------
2 files changed, 25 insertions(+), 36 deletions(-)

Reply via email to