Re: Allow specifying a dbname in pg_basebackup connection string

Jelte Fennema-Nio <postgres@jeltef.nl>

From: Jelte Fennema <postgres@jeltef.nl>
To: Thom Brown <thom@linux.com>
Cc: Euler Taveira <euler@eulerto.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-07-05T19:39:40Z
Lists: pgsql-hackers

Attachments

On Wed, 5 Jul 2023 at 20:09, Thom Brown <thom@linux.com> wrote:
> Okay, understood.  In that case, please remember to write changes to
> the pg_basebackup docs page explaining how the dbname value is ignored


I updated the wording in the docs for pg_basebackup and pg_receivewal.
They now clarify that Postgres itself doesn't care if there's a
database name in the connection string, but that a proxy might.

Commits

  1. pg_basebackup, pg_receivewal: fix failure to find password in ~/.pgpass.

  2. Allow dbname in pg_basebackup/pg_receivewal connstring