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 1mnA3C-0003ey-Tu for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Nov 2021 01:47:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mnA3B-0004Bw-Rl for pgsql-bugs@arkaria.postgresql.org; Wed, 17 Nov 2021 01:47:49 +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 1mnA3B-0004Bn-Je for pgsql-bugs@lists.postgresql.org; Wed, 17 Nov 2021 01:47:49 +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 1mnA39-0001rl-0c for pgsql-bugs@lists.postgresql.org; Wed, 17 Nov 2021 01:47:49 +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 1AH1liB62361579; Tue, 16 Nov 2021 20:47:44 -0500 From: Tom Lane To: =?UTF-8?B?0JTQvNC40YLRgNC40Lkg0JjQstCw0L3QvtCy?= cc: pgsql-bugs@lists.postgresql.org Subject: Re: pg_restore depending on user functions In-reply-to: References: <2011525.1636911069@sss.pgh.pa.us> <2016240.1636915579@sss.pgh.pa.us> <2048100.1636934771@sss.pgh.pa.us> <2124696.1636991365@sss.pgh.pa.us> <2157331.1637014065@sss.pgh.pa.us> <2230909.1637080154@sss.pgh.pa.us> <2254203.1637093046@sss.pgh.pa.us> Comments: In-reply-to =?UTF-8?B?0JTQvNC40YLRgNC40Lkg0JjQstCw0L3QvtCy?= message dated "Wed, 17 Nov 2021 06:33:40 +0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2361577.1637113664.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 16 Nov 2021 20:47:44 -0500 Message-ID: <2361578.1637113664@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =3D?UTF-8?B?0JTQvNC40YLRgNC40Lkg0JjQstCw0L3QvtCy?=3D writes: > Am I correct in understanding that I need to dump --schema-only in SQL > format and then delete everything, leaving one chain for example? If so,= it > will have to be postponed until the weekend. I don't care how you make the file exactly. But please confirm that it can be re-loaded and then will reproduce the problem. regards, tom lane