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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zsolt Ero <zsolt(dot)ero(at)gmail(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>, Daniel Gustafsson <daniel(at)yesql(dot)se>
Subject: Re: BUG #16604: pg_dump with --jobs breaks SSL connections
Date: 2020-09-24 20:13:08
Message-ID: 1732344.1600978388@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I wrote:
> I'm inclined to think that
> we should get rid of _connectDB, because it seems unnecessarily
> duplicative with ConnectDatabase. But we'll need a bit more
> API refactoring than what I had. New patch coming ...

A bit of refactoring later, I have the attached, which seems to
clean up all cases. I got rid of some bits of dead code along
the way.

regards, tom lane

Attachment Content-Type Size
fix-parallel-pg-dump-with-dbname-connstring-2.patch text/x-diff 22.3 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michał Albrycht 2020-09-24 20:26:52 Re: BUG #16634: Conflicting names of indexes for partitioned tables
Previous Message Tom Lane 2020-09-24 17:42:25 Re: BUG #16604: pg_dump with --jobs breaks SSL connections