Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icVFm-0006zx-58 for pgsql-bugs@arkaria.postgresql.org; Wed, 04 Dec 2019 14:03:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1icVFk-0007eL-HJ for pgsql-bugs@arkaria.postgresql.org; Wed, 04 Dec 2019 14:03:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icVFk-0007eE-8z for pgsql-bugs@lists.postgresql.org; Wed, 04 Dec 2019 14:03:40 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icVFh-0007wj-5r for pgsql-bugs@lists.postgresql.org; Wed, 04 Dec 2019 14:03:39 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id xB4E3QNV015365; Wed, 4 Dec 2019 09:03:26 -0500 From: Tom Lane To: btihen@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16147: postgresql 12.1 (from homebrew) - pg_restore -h localhost --jobs=2 crashes In-reply-to: <16147-34dfe783aba141b0@postgresql.org> References: <16147-34dfe783aba141b0@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Wed, 04 Dec 2019 11:46:35 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15363.1575468206.1@sss.pgh.pa.us> Date: Wed, 04 Dec 2019 09:03:26 -0500 Message-ID: <15364.1575468206@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Bug reporting form writes: > The following bug has been logged on the website: > Bug reference: 16147 > Logged by: Bill Tihen > Email address: btihen@gmail.com > PostgreSQL version: 12.1 > Operating system: MacOS 10.15.1 > Description: > The following command crashes with any database I've tried (both large and > small) DBs: > `pg_restore -U wti0405 -d stage3 -h localhost --jobs=8 -Fc > database_12_04-01-00.bak -x` I failed to reproduce this on my own 10.15.1 laptop, using manual builds of either HEAD or the v12 branch. Plausible reasons for the difference in results might include: * There's something different about the homebrew build (could we see the output of pg_config?) * There's something unusual about your configuration (one thought that comes to mind: do you have SSL turned on for localhost connections?) * There's something about the data in this specific database (your report that it happens for multiple databases puts a crimp in this idea, though maybe they all share a common feature) Anyway, we need more info to investigate. You might try looking into the server log to see what the failure looks like from that side --- is there a query error, or just the worker disconnecting unexpectedly? regards, tom lane