diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-02-25 14:48:27 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-02-25 14:59:33 +0200 |
commit | aa05c37e823a41056273e73f6b3d168009a67c3f (patch) | |
tree | 984b4da2ff71ffc6a4df286567428eba65cb92de /src/bin/pg_basebackup/streamutil.h | |
parent | 786170d74f30bc8d3017149dc444f3f3e29029a7 (diff) |
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.
Diffstat (limited to 'src/bin/pg_basebackup/streamutil.h')
-rw-r--r-- | src/bin/pg_basebackup/streamutil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/pg_basebackup/streamutil.h b/src/bin/pg_basebackup/streamutil.h index 4f5ff914e23..77d6b86ced3 100644 --- a/src/bin/pg_basebackup/streamutil.h +++ b/src/bin/pg_basebackup/streamutil.h @@ -1,6 +1,7 @@ #include "libpq-fe.h" extern const char *progname; +extern char *connection_string; extern char *dbhost; extern char *dbuser; extern char *dbport; |