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 1ibrNH-00061V-LU for pgsql-general@arkaria.postgresql.org; Mon, 02 Dec 2019 19:28:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ibrNG-00061D-CJ for pgsql-general@arkaria.postgresql.org; Mon, 02 Dec 2019 19:28:46 +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 1ibrNF-00060S-VX for pgsql-general@lists.postgresql.org; Mon, 02 Dec 2019 19:28:46 +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 1ibrNC-0005uw-JW for pgsql-general@lists.postgresql.org; Mon, 02 Dec 2019 19:28:44 +0000 Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mailbackend.panix.com (Postfix) with ESMTP id 47RZsj0Ft7z11ld for ; Mon, 2 Dec 2019 14:28:40 -0500 (EST) Received: by panix2.panix.com (Postfix, from userid 17622) id 47RZsh61fzz1ZVv; Mon, 2 Dec 2019 14:28:40 -0500 (EST) Date: Mon, 2 Dec 2019 14:28:40 -0500 From: stan To: pgsql-general@lists.postgresql.org Subject: Upgrading from V11 to V12 on Debian install Message-ID: <20191202192840.GA22579@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 have several machines that have version 11 instances on them. These are all Debian or Ubuntu machines. All of them are pointed to the Postgres repositories fro the Postgres binaries deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main dpkg -l shows: ii postgresql-11 11.6-1.pgdg100+1 ii postgresql-12 12.1-1.pgdg100+1 ii postgresql-client-11 11.6-1.pgdg100+1 ii postgresql-client-12 12.1-1.pgdg100+1 ii postgresql-client-common 210.pgdg100+1 ii postgresql-common 210.pgdg100+1 ii postgresql-contrib 12+210.pgdg100+1 ii postgresql-server-dev-11 11.6-1.pgdg100+1 Googling around, I found this link: https://scottlinux.com/2015/11/14/upgrade-postgresql-on-debian-jessie-with-pg_upgradecluster/ I plan on upgrading one of the test instances right away. Is the information in this link the best way to do this in a Debian environment? I did look at the pg_upgrade documentation, and it looks like I could really make a mess if I misunderstand even one step. "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin