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 1icAoL-0003Tp-La for pgsql-general@arkaria.postgresql.org; Tue, 03 Dec 2019 16:14:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1icAoK-0002yX-DD for pgsql-general@arkaria.postgresql.org; Tue, 03 Dec 2019 16:14:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icAoK-0002yP-3e for pgsql-general@lists.postgresql.org; Tue, 03 Dec 2019 16:14:00 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icAoH-0005UA-Dz for pgsql-general@lists.postgresql.org; Tue, 03 Dec 2019 16:13:59 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id xB3GDtoE004514; Tue, 3 Dec 2019 11:13:56 -0500 From: Tom Lane To: stan cc: pgsql-general@lists.postgresql.org Subject: Re: Issue upgrading from V11 to V12 on Debian In-reply-to: <20191203155347.GA15007@panix.com> References: <20191203155347.GA15007@panix.com> Comments: In-reply-to stan message dated "Tue, 03 Dec 2019 10:53:47 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4512.1575389635.1@sss.pgh.pa.us> Date: Tue, 03 Dec 2019 11:13:55 -0500 Message-ID: <4513.1575389635@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk stan writes: > 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? Yes, but in this context, "install" only means "add the files to the filesystem". You don't need to do CREATE EXTENSION in the new database; pg_upgrade will handle that when it transfers the data. regards, tom lane