From 673a30fbb2b665aac9a5f660986be73aab8fc59a Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 20 Jul 2008 18:43:30 +0000 Subject: Add a pg_dump option --lock-wait-timeout to allow failing the dump if unable to acquire shared table locks within a specified amount of time. David Gould --- doc/src/sgml/ref/pg_dump.sgml | 82 ++++++++++++++++++++++++++----------------- 1 file changed, 49 insertions(+), 33 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index e7889f04625..c8aae47b6f0 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -1,5 +1,5 @@ @@ -415,23 +415,6 @@ PostgreSQL documentation - - - - - Do not output commands to select tablespaces. - With this option, all objects will be created in whichever - tablespace is the default during restore. - - - - This option is only meaningful for the plain-text format. For - the archive formats, you can specify the option when you - call pg_restore. - - - - @@ -550,6 +533,18 @@ PostgreSQL documentation + + + + + + Specify the compression level to use in archive formats that + support compression. (Currently only the custom archive + format supports compression.) + + + + @@ -557,8 +552,8 @@ PostgreSQL documentation This option disables the use of dollar quoting for function bodies, and forces them to be quoted using SQL standard string syntax. - - + + @@ -587,6 +582,39 @@ PostgreSQL documentation + + + + + Do not wait forever to acquire shared table locks at the beginning of + the dump. Instead fail if unable to lock a table within the specified + timeout. The timeout may be + specified in any of the formats accepted by SET + statement_timeout. (Allowed values vary depending on the server + version you are dumping from, but an integer number of milliseconds + is accepted by all versions since 7.3. This option is ignored when + dumping from a pre-7.3 server.) + + + + + + + + + Do not output commands to select tablespaces. + With this option, all objects will be created in whichever + tablespace is the default during restore. + + + + This option is only meaningful for the plain-text format. For + the archive formats, you can specify the option when you + call pg_restore. + + + + @@ -601,18 +629,6 @@ PostgreSQL documentation - - - - - - - Specify the compression level to use in archive formats that - support compression. (Currently only the custom archive - format supports compression.) - - - @@ -663,7 +679,7 @@ PostgreSQL documentation Force pg_dump to prompt for a - password before connecting to a database. + password before connecting to a database. -- cgit v1.2.3