From 3dee636e0404885d07885d41c0d70e50c784f324 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 25 Feb 2013 19:39:10 +0200 Subject: Add -d option to pg_dumpall, for specifying a connection string. Like with pg_basebackup and pg_receivexlog, it's a bit strange to call the option -d/--dbname, when in fact you cannot pass a database name in it. Original patch by Amit Kapila, heavily modified by me. --- doc/src/sgml/ref/pg_dumpall.sgml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_dumpall.sgml b/doc/src/sgml/ref/pg_dumpall.sgml index 253ee01c0e4..5c6a101333f 100644 --- a/doc/src/sgml/ref/pg_dumpall.sgml +++ b/doc/src/sgml/ref/pg_dumpall.sgml @@ -405,6 +405,25 @@ PostgreSQL documentation The following command-line options control the database connection parameters. + + + + + + Specifies parameters used to connect to the server, as a connection + string. See for more information. + + + The option is called --dbname for consistency with other + client applications, but because pg_dumpall + needs to connect to many databases, database name in the connection + string will be ignored. Use -l option to specify + the name of the database used to dump global objects and to discover + what other databases should be dumped. + + + + -- cgit v1.2.3