summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-06-09 17:56:51 +0000
committerBruce Momjian <bruce@momjian.us>2005-06-09 17:56:51 +0000
commitebc8649892d02a9c6991e00d3e273670ca46fe56 (patch)
tree051b445e5864d14fb44d16fed629cdc5d0688a1e /doc/src
parent4d0e7b4aace5cdad7137d6efe71bcad4015c2518 (diff)
Since I needed this feature badly, I added the -n / --schema switch to
pg_restore. It restores the given schemaname only. It can be used in conjunction with the -t and other switches to make the selection very fine grained. Richard van den Bergg, CISSP
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/pg_restore.sgml14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/pg_restore.sgml b/doc/src/sgml/ref/pg_restore.sgml
index c4017091651..54afdb154d9 100644
--- a/doc/src/sgml/ref/pg_restore.sgml
+++ b/doc/src/sgml/ref/pg_restore.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.51 2005/05/29 03:32:18 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.52 2005/06/09 17:56:51 momjian Exp $ -->
<refentry id="APP-PGRESTORE">
<refmeta>
@@ -240,6 +240,18 @@
</varlistentry>
<varlistentry>
+ <term><option>-n <replaceable class="parameter">namespace</replaceable></option></term>
+ <term><option>--schema=<replaceable class="parameter">schema</replaceable></option></term>
+ <listitem>
+ <para>
+ Restore only definitions and/or data in the named schema. Not to be
+ confused with the <option>-s</option> option. This can be combined with
+ <option>-t</option> option.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-O</option></term>
<term><option>--no-owner</option></term>
<listitem>