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 1omSj6-0003zR-3V for pgsql-general@arkaria.postgresql.org; Sun, 23 Oct 2022 04:36:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1omSj4-0008PV-UN for pgsql-general@arkaria.postgresql.org; Sun, 23 Oct 2022 04:36:42 +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 1omSj4-0008PL-Jk for pgsql-general@lists.postgresql.org; Sun, 23 Oct 2022 04:36:42 +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 1omSiz-0006MB-T6 for pgsql-general@lists.postgresql.org; Sun, 23 Oct 2022 04:36:42 +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 29N4aWGG3473269; Sun, 23 Oct 2022 00:36:32 -0400 From: Tom Lane To: Ron cc: Adrian Klaver , pgsql-general@lists.postgresql.org Subject: Re: pg_restore 12 "permission denied for schema" errors In-reply-to: <612cf1c4-1f2d-f068-d6cf-54b98bbeb646@gmail.com> References: <287717df-88e2-a4a5-2025-260c39662bca@gmail.com> <40fd91d2-d981-2f44-4d58-a3f08a9448fb@familie-gard.de> <2980993.1666242738@sss.pgh.pa.us> <612cf1c4-1f2d-f068-d6cf-54b98bbeb646@gmail.com> Comments: In-reply-to Ron message dated "Thu, 20 Oct 2022 16:34:57 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3473267.1666499792.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Sun, 23 Oct 2022 00:36:32 -0400 Message-ID: <3473268.1666499792@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ron writes: > On 10/20/22 10:02, Adrian Klaver wrote: >> 3) What if you run without --jobs? > It runs without error.  Add "--jobs=2" and the errors appear. That's ... suggestive ... but not suggestive enough. Can you create a self-contained test case? It probably doesn't depend much at all on your data, just the schema. regards, tom lane