BUG #16604: pg_dump with --jobs breaks SSL connections

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: zsolt(dot)ero(at)gmail(dot)com
Subject: BUG #16604: pg_dump with --jobs breaks SSL connections
Date: 2020-09-01 20:08:24
Message-ID: 16604-933f4b8791227b15@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16604
Logged by: Zsolt Ero
Email address: zsolt(dot)ero(at)gmail(dot)com
PostgreSQL version: 12.4
Operating system: Ubuntu 20.04
Description:

I'm using pg_dump in the following syntax:

pg_dump --dbname="sslmode=verify-ca sslrootcert=server-ca.pem \
sslcert=client-cert.pem sslkey=client-key.pem \
hostaddr=1.2.3.4 \
user=postgres dbname=app" \
--format=directory \
--file=dump_app \
--jobs=3

As long as the --jobs parameter is present, the process breaks after
"pg_dump: saving database definition".
It breaks with "FATAL:  connection requires a valid client certificate".

Without --jobs it completes without errors. I also think it's happening with
pg_restore as well.

Client is postgresql-client-12 under Ubuntu 20.04 from latest official
packages (http://apt.postgresql.org/pub/repos/apt).

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2020-09-01 20:38:46 Re: BUG #16486: Prompted password is ignored when password specified in connection string
Previous Message Yash Raj 2020-09-01 18:27:32 Re: BUG #16601: Restore Issue