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 1oTDA4-0004mb-0V for pgsql-admin@arkaria.postgresql.org; Wed, 31 Aug 2022 02:09:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oTDA2-0004nM-PF for pgsql-admin@arkaria.postgresql.org; Wed, 31 Aug 2022 02:08:58 +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 1oTDA2-0004n7-FB for pgsql-admin@lists.postgresql.org; Wed, 31 Aug 2022 02:08:58 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oTD9x-0008OV-Qz for pgsql-admin@lists.postgresql.org; Wed, 31 Aug 2022 02:08:57 +0000 Received: from bruce by momjian.us with local (Exim 4.94.2) (envelope-from ) id 1oTD9v-00DpnN-Uu; Tue, 30 Aug 2022 22:08:51 -0400 Date: Tue, 30 Aug 2022 22:08:51 -0400 From: Bruce Momjian To: Nikhil Shetty Cc: Pgsql-admin Subject: Re: Adding more detail to pg_upgrade documentation Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, May 28, 2022 at 12:11:31AM +0530, Nikhil Shetty wrote: > Hi, > > We are upgrading from Postgres 11 to 13. During upgrade we found that the > physical slots on the old cluster are not copied to the new cluster. > > This information is not mentioned in the documentation - https:// > www.postgresql.org/docs/13/pgupgrade.html > > Just thought it would be good to have this detail All releases after 2022-07-14 have this mentioned: commit 47ae6948f0 Author: Bruce Momjian Date: Thu Jul 14 16:34:30 2022 -0400 pg_upgrade doc: mention that replication slots must be recreated Reported-by: Nikhil Shetty Discussion: https://postgr.es/m/CAFpL5Vxastip0Jei-K-=7cKXTg=5sahSe5g=om=x68NOX8+PUA@mail.gmail.com Backpatch-through: 10 So, these releases: https://www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-released-2496/ PostgreSQL 14.5, 13.8, 12.12, 11.17, 10.22 See here: https://www.postgresql.org/docs/15/pgupgrade.html Section 11.7 --> Replication slots are not copied and must be recreated. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Indecision is a decision. Inaction is an action. Mark Batterson