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 1ogSfz-0000iD-RH for pgsql-general@arkaria.postgresql.org; Thu, 06 Oct 2022 15:20:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ogSfy-0004pC-Mg for pgsql-general@arkaria.postgresql.org; Thu, 06 Oct 2022 15:20:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogSfy-0004nB-CO for pgsql-general@lists.postgresql.org; Thu, 06 Oct 2022 15:20:42 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogSfv-0003a8-CZ for pgsql-general@postgresql.org; Thu, 06 Oct 2022 15:20:41 +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 296FKbEV2749192; Thu, 6 Oct 2022 11:20:37 -0400 From: Tom Lane To: Ron cc: pgsql-general Subject: Re: pg_restore creates public schema? In-reply-to: <33eb3653-26f1-e6c1-dd16-c43ef93f7624@gmail.com> References: <9a423047-24d9-1643-c91e-6c36508b987e@gmail.com> <2678272.1665067771@sss.pgh.pa.us> <33eb3653-26f1-e6c1-dd16-c43ef93f7624@gmail.com> Comments: In-reply-to Ron message dated "Thu, 06 Oct 2022 10:17:44 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2749190.1665069637.1@sss.pgh.pa.us> Date: Thu, 06 Oct 2022 11:20:37 -0400 Message-ID: <2749191.1665069637@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ron writes: > On 10/6/22 09:49, Tom Lane wrote: >> Ron writes: >>> pg_dump 9.6.24 >> You realize that that version's been out of support for a year? > Yes, which is why I'm dumping from an EOL cluster, and restoring to a > supported version. But why are you using the dead version's pg_dump? You could use the supported version of that. regards, tom lane