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 1icBJl-0004ns-9s for pgsql-general@arkaria.postgresql.org; Tue, 03 Dec 2019 16:46:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1icBJj-0005wv-Sr for pgsql-general@arkaria.postgresql.org; Tue, 03 Dec 2019 16:46:27 +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 1icBJj-0005wn-EX for pgsql-general@lists.postgresql.org; Tue, 03 Dec 2019 16:46:27 +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 1icBJg-0007HZ-Ck for pgsql-general@postgresql.org; Tue, 03 Dec 2019 16:46:25 +0000 Received: from panix5.panix.com (panix5.panix.com [166.84.1.5]) by mailbackend.panix.com (Postfix) with ESMTP id 47S7Cz13r0z1RMK; Tue, 3 Dec 2019 11:46:23 -0500 (EST) Received: by panix5.panix.com (Postfix, from userid 17622) id 47S7Cy6xHVzfYc; Tue, 3 Dec 2019 11:46:22 -0500 (EST) Date: Tue, 3 Dec 2019 11:46:22 -0500 From: stan To: Tom Lane Cc: pgsql-general@postgresql.org Subject: Re: Issue upgrading from V11 to V12 on Debian Message-ID: <20191203164622.GA3615@panix.com> References: <20191203155347.GA15007@panix.com> <4513.1575389635@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4513.1575389635@sss.pgh.pa.us> 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 On Tue, Dec 03, 2019 at 11:13:55AM -0500, Tom Lane wrote: > 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. Sorry, I am back again :-( So, I have V12 running as the default on the machine I am testing this on now: Ver Cluster Port Status Owner Data directory Log file 11 main 5433 down postgres /var/lib/postgresql/11/main /var/log/postgresql/postgresql-11-main.log 12 main 5432 online postgres /var/lib/postgresql/12/main /var/log/postgresql/postgresql-12-main.log BUT, I went to the directory where I have the exentsion's source, did a make clean ; make ; make install, and the files were still installed in the V11 tree. How can I instruct the system to put these in the V12 tree? The extension in question is pgemailaddr if this matters, BTW. -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin