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 1oifXI-0005Dm-5H for pgsql-admin@arkaria.postgresql.org; Wed, 12 Oct 2022 17:28:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oifXG-0008CR-Iq for pgsql-admin@arkaria.postgresql.org; Wed, 12 Oct 2022 17:28:50 +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 1oifXG-0008CI-8b for pgsql-admin@lists.postgresql.org; Wed, 12 Oct 2022 17:28:50 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oifXD-0004mu-Rs for pgsql-admin@lists.postgresql.org; Wed, 12 Oct 2022 17:28:49 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 54E6EE5A3A; Wed, 12 Oct 2022 17:28:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nlNUIJ8l6qEE; Wed, 12 Oct 2022 17:28:46 +0000 (UTC) Received: from smtpclient.apple (unknown [165.140.184.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id DF653E56F2; Wed, 12 Oct 2022 17:28:45 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: Postgresql community edition upgrade From: Scott Ribe In-Reply-To: Date: Wed, 12 Oct 2022 11:28:45 -0600 Cc: pgsql-admin Content-Transfer-Encoding: quoted-printable Message-Id: <9571D051-5B4F-45FB-A52B-9D84C601B7DC@elevated-dev.com> References: <7ce8278e-f943-74d4-ca73-cbf9e422f784@jakobs.com> To: Ebin Jozer X-Mailer: Apple Mail (2.3696.120.41.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Oct 12, 2022, at 11:18 AM, Ebin Jozer wrote: >=20 > What would be the rollback step in case the upgrade failed while using = pg_upgrade?? - pg_upgrade does pretty extensive pre-flight checks before proceeding - it does not modify original files, but copies (& modifies the copied = catalog files as needed) (I think even if you use link mode, it doesn't modify original catalog = files, so you can start the old one until you have started the new one. = I'd look for more info from someone more knowledgeable about this exact = process.) I've personally never seen a problem once the pre-flight passes and it = proceeds.=