Thread: BUG #13727: pg_dump with a connection string fails when performing parallel backup

BUG #13727: pg_dump with a connection string fails when performing parallel backup

From
zkronion@gmail.com
Date:
The following bug has been logged on the website:

Bug reference:      13727
Logged by:          Collin Stedman
Email address:      zkronion@gmail.com
PostgreSQL version: 9.4.4
Operating system:   Mac OSX 10.10.3
Description:

The following command works just fine:

pg_dump "postgres://my-user:my-password@my.hostname.com:5432/my-db" -Fd -f
my-dump

However, if I try to parallelize the dump...

pg_dump "postgres://my-user:my-password@my.hostname.com:5432/my-db" -Fd
--jobs=9 -f my-dump

I get the following error:

pg_dump: [parallel archiver] connection to database "my-db" failed:
fe_sendauth: no password supplied

I believe I have a patch for the bug, which I'll submit to pgsql-hackers in
response to this bug report.