pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: zsolt.ero@gmail.com
Subject: BUG #16604: pg_dump with --jobs breaks SSL connections
Date: Tue, 01 Sep 2020 20:08:24 +0000
Message-ID: <16604-933f4b8791227b15@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16604
Logged by:          Zsolt Ero
Email address:      zsolt.ero@gmail.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).



view thread (9+ messages)  latest in thread

Message-ID: <16604-933f4b8791227b15@postgresql.org>
Permalink:  ../16604-933f4b8791227b15@postgresql.org/
Also on:    postgresql.org/message-id/16604-933f4b8791227b15@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, zsolt.ero@gmail.com
  Subject: Re: BUG #16604: pg_dump with --jobs breaks SSL connections
  In-Reply-To: <16604-933f4b8791227b15@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox