Add -d option to pg_basebackup and pg_receivexlog, for connection string.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: aa05c37e823a41056273e73f6b3d168009a67c3f
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2013-02-25T12:59:33Z
Releases: 9.3.0
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.

Files