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 1icAUs-0002ZF-Rk for pgsql-general@arkaria.postgresql.org; Tue, 03 Dec 2019 15:53:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1icAUq-0001nN-Jv for pgsql-general@arkaria.postgresql.org; Tue, 03 Dec 2019 15:53:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icAUq-0001jV-4J for pgsql-general@lists.postgresql.org; Tue, 03 Dec 2019 15:53:52 +0000 Received: from mailbackend.panix.com ([166.84.1.89]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1icAUn-0006tU-BI for pgsql-general@lists.postgresql.org; Tue, 03 Dec 2019 15:53:50 +0000 Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mailbackend.panix.com (Postfix) with ESMTP id 47S63J25bhz1LCW for ; Tue, 3 Dec 2019 10:53:48 -0500 (EST) Received: by panix2.panix.com (Postfix, from userid 17622) id 47S63J0ZLSz1ZVv; Tue, 3 Dec 2019 10:53:48 -0500 (EST) Date: Tue, 3 Dec 2019 10:53:47 -0500 From: stan To: pgsql-general@lists.postgresql.org Subject: Issue upgrading from V11 to V12 on Debian Message-ID: <20191203155347.GA15007@panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim User-Agent: Mutt/1.12.1 (2019-06-15) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I am working on upgrading from V11 to V12 on Debian. My first attempt failed, and I have figured out that this is because I have added extensions to the V11 DB, at least one of which was not installed using the Debian packages. So, it looks like i need to install these before doing the upgrade, correct? This brings up a chicken or egg issue however. We are creating the extensions, like this: CREATE EXTENSION emailaddr with schema ica So, to accomplish this, I would need to create the ice schema, and the user it "belongs" to before I run pg_upgradecluster. This raises 2 questions 1) Is it OK to create these before doing the upgrade? 2) Does this flag that creating these extensions "in" a schema may be a long term "bad idea"? Thanks for any advice n this. -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin