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 1nHLxQ-0003Na-NS for pgsql-admin@arkaria.postgresql.org; Tue, 08 Feb 2022 08:34:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nHLxP-00034k-Ha for pgsql-admin@arkaria.postgresql.org; Tue, 08 Feb 2022 08:34:39 +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 1nHLxP-00034b-6y; Tue, 08 Feb 2022 08:34:39 +0000 Received: from admin.sibptus.ru ([2001:19f0:5001:21dc::10]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHLxN-0003Df-0S; Tue, 08 Feb 2022 08:34:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=R4S9z514A+sa4tG2xuCAdlBW32RP2HqMayH/Mq/Olqw=; b=O+DRkcFpCOFKdN/9GoLNq8x1AZ VOVd0M60kz7JTwcxM452m+KvT8GFbNUUERmkMYntUneGfC4aof7uCaqqHYjadTOfljGC0xf1l4wGQ 5jim2r4FEcDs6xu+7E7MW91w/OIaM8wrKcL+3fEJ6hqY2ibT4PVwSSomBsRzAiIxL51s=; Received: from vas by admin.sibptus.ru with local (Exim 4.95 (FreeBSD)) (envelope-from ) id 1nHLxL-000GTA-U0; Tue, 08 Feb 2022 08:34:35 +0000 Date: Tue, 8 Feb 2022 08:34:35 +0000 From: Victor Sudakov To: Nikhil Shetty Cc: Julien Rouhaud , Pgsql-admin , pgsql-admin Subject: Re: Lost replication slots after pg_upgrade. Message-ID: References: <20220208070404.d2dizlt6nvz2g3og@jrouhaud> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Nikhil Shetty wrote: > Hi Julien, > > Thank you for the information. I wanted to understand why the replication > slot is removed after or during upgrade? Because pg_upgrade basically runs initdb for you. You are dealing with a new cluster after pg_upgrade, in fact. -- Victor Sudakov VAS4-RIPE http://vas.tomsk.ru/ 2:5005/49@fidonet