From a4cd6abcc901c1a8009c62a27f78696717bb8fe1 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Fri, 16 Dec 2011 19:09:38 -0500 Subject: Add --section option to pg_dump and pg_restore. Valid values are --pre-data, data and post-data. The option can be given more than once. --schema-only is equivalent to --section=pre-data --section=post-data. --data-only is equivalent to --section=data. Andrew Dunstan, reviewed by Joachim Wieland and Josh Berkus. --- doc/src/sgml/ref/pg_dump.sgml | 24 +++++++++++++++++++++--- doc/src/sgml/ref/pg_restore.sgml | 23 +++++++++++++++++++++++ 2 files changed, 44 insertions(+), 3 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index cf6d689918a..710051a4fd1 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -116,9 +116,7 @@ PostgreSQL documentation - This option is only meaningful for the plain-text format. For - the archive formats, you can specify the option when you - call pg_restore. + This option is equivalent to specifying @@ -408,9 +406,29 @@ PostgreSQL documentation To exclude table data for only a subset of tables in the database, see