From a0db74a35c16debfec84d6a5b0bdc227236a8ece Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 12 Jul 2004 14:35:45 +0000 Subject: This patch adds the following options to pg_dumpall, to be passed to pg_dump: -S, --superuser=NAME -O, --no-owner -X disable-dollar-quoting, --disable-dollar-quoting -X disable-triggers, --disable-triggers Christopher Kings-Lynne --- doc/src/sgml/ref/pg_dumpall.sgml | 78 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 77 insertions(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_dumpall.sgml b/doc/src/sgml/ref/pg_dumpall.sgml index befd73ba66f..efc35f75146 100644 --- a/doc/src/sgml/ref/pg_dumpall.sgml +++ b/doc/src/sgml/ref/pg_dumpall.sgml @@ -1,5 +1,5 @@ @@ -176,6 +176,25 @@ PostgreSQL documentation + + + + + + Do not output commands to set + ownership of objects to match the original database. + By default, pg_dumpall issues + SET SESSION AUTHORIZATION + statements to set ownership of created schema elements. + These statements + will fail when the script is run unless it is started by a superuser + (or the same user that owns all of the objects in the script). + To make a script that can be restored by any user, but will give + that user ownership of all the objects, specify + + + @@ -186,6 +205,19 @@ PostgreSQL documentation + + + + + + Specify the superuser user name to use when disabling triggers. + This is only relevant if + + + @@ -209,6 +241,50 @@ PostgreSQL documentation + + + + + + + This option disables the use of dollar quoting for function bodies, + and forces them to be quoted using SQL standard string syntax. + + + + + + + + + + This option is only relevant when creating a data-only dump. + It instructs pg_dumpall to include commands + to temporarily disable triggers on the target tables while + the data is reloaded. Use this if you have referential + integrity checks or other triggers on the tables that you + do not want to invoke during data reload. + + + + Presently, the commands emitted for + + + + + + + + + This option is obsolete but still accepted for backwards + compatibility with pg_dump. + + + -- cgit v1.2.3