From aa05c37e823a41056273e73f6b3d168009a67c3f Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 25 Feb 2013 14:48:27 +0200 Subject: Add -d option to pg_basebackup and pg_receivexlog, for connection string. Without this, there's no way to pass arbitrary libpq connection parameters to these applications. It's a bit strange that the option is called -d/--dbname, when in fact you can *not* pass a database name in it, but it's consistent with other client applications where a connection string is also passed using -d. Original patch by Amit Kapila, heavily modified by me. --- doc/src/sgml/ref/pg_basebackup.sgml | 17 +++++++++++++++++ doc/src/sgml/ref/pg_receivexlog.sgml | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_basebackup.sgml b/doc/src/sgml/ref/pg_basebackup.sgml index 2f89f2c322e..9906b0c6d55 100644 --- a/doc/src/sgml/ref/pg_basebackup.sgml +++ b/doc/src/sgml/ref/pg_basebackup.sgml @@ -358,6 +358,23 @@ 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_basebackup + doesn't connect to any particular database in the cluster, database + name in the connection string will be ignored. + + + + diff --git a/doc/src/sgml/ref/pg_receivexlog.sgml b/doc/src/sgml/ref/pg_receivexlog.sgml index d06dd1f171c..ec9afad1974 100644 --- a/doc/src/sgml/ref/pg_receivexlog.sgml +++ b/doc/src/sgml/ref/pg_receivexlog.sgml @@ -122,6 +122,23 @@ 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_basebackup + doesn't connect to any particular database in the cluster, database + name in the connection string will be ignored. + + + + -- cgit v1.2.3