Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mcSxP-0007xi-Ts for pgsql-general@arkaria.postgresql.org; Mon, 18 Oct 2021 13:45:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mcSxO-00084E-St for pgsql-general@arkaria.postgresql.org; Mon, 18 Oct 2021 13:45:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mcSxO-000845-JD for pgsql-general@lists.postgresql.org; Mon, 18 Oct 2021 13:45:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mcSxM-0007dg-Je for pgsql-general@lists.postgresql.org; Mon, 18 Oct 2021 13:45:38 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 19IDjJd11550743; Mon, 18 Oct 2021 09:45:19 -0400 From: Tom Lane To: "Nick Renders" cc: pgsql-general@lists.postgresql.org Subject: Re: PostgreSQL 14: pg_dump / pg_restore error: could not write to the communication channel: Broken pipe In-reply-to: References: <202110151313.dk4fatdj4qii@alvherre.pgsql> <963372.1634317694@sss.pgh.pa.us> Comments: In-reply-to "Nick Renders" message dated "Mon, 18 Oct 2021 13:42:22 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1550741.1634564719.1@sss.pgh.pa.us> Date: Mon, 18 Oct 2021 09:45:19 -0400 Message-ID: <1550742.1634564719@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Nick Renders" writes: > Thank you for all the feedback and suggestions. > It seems that the "-h localhost" parameter is triggering the issue. If I > leave it out, pg_restore works without problems with multiple jobs. I > have also tried specifying the IP number instead of "localhost", but > that results in the same error. Hmm ... do you have your firewall set up in any unusual way? See System Preferences -> Security & Privacy -> Firewall -> Firewall Options. On mine, the only checked box is "Automatically allow built-in software to receive incoming connections". I also have SSH enabled, though that doesn't seem too relevant here. regards, tom lane