From 691e595dd9c7786d37d73ccd327f8c2b6f0dace6 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 25 Feb 2013 19:39:04 +0200 Subject: Add -d/--dbname option to pg_dump. You could already pass a database name just by passing it as the last option, without -d. This is an alias for that, like the -d/--dbname option in psql and many other client applications. For consistency. --- doc/src/sgml/ref/pg_dump.sgml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index 152edcbe6ed..6d0f214d423 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -817,6 +817,26 @@ PostgreSQL documentation The following command-line options control the database connection parameters. + + + + + + Specifies the name of the database to connect to. This is + equivalent to specifying dbname as the first non-option + argument on the command line. + + + If this parameter contains an = sign or starts + with a valid URI prefix + (postgresql:// + or postgres://), it is treated as a + conninfo string. See for more information. + + + + -- cgit v1.2.3