Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vBxZO-007KA9-D2 for pgsql-general@arkaria.postgresql.org; Thu, 23 Oct 2025 15:49:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1vBxZN-009xGJ-BA for pgsql-general@arkaria.postgresql.org; Thu, 23 Oct 2025 15:49:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vBxZM-009xG6-Fq for pgsql-general@lists.postgresql.org; Thu, 23 Oct 2025 15:49:40 +0000 Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1vBxZJ-003NO8-24 for pgsql-general@lists.postgresql.org; Thu, 23 Oct 2025 15:49:38 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 47A3D7A01AE; Thu, 23 Oct 2025 11:49:36 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Thu, 23 Oct 2025 11:49:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1761234576; x=1761320976; bh=qBCmdmL5J5q0gznKvNUQ6g0wL3gYm23z19c5XzLTCnE=; b= EiDZDaxUtiC2IDuoNFyXQ9SJBdIlcmKTKpVipvn112li24HANQO8b781OALCxfk7 bLVYZbmuyBcyYOjTSIkaUw5c4Fzih2ITrGM0gwux2VRBfKeIbiPvYBU9h9VShoL7 GRaUImP9K0plQrvxSYfgByvkO2JbhuKwgUMe0NB+6qZWhOckGtZu7mVkWo4rrA+k pVw7fuRzhZTV51qAm5OYZr6W1PBknU2uw1gELUw857S/CGLF2iTLrzo7jYBE4nx1 ZTE7LxWYufFb44TCnRNCNh5rsrBQ3Cg/0qsJHI82Nm3zaGzHDn5K/k3iW2BA/CFm CJYNgR2lsUjCvSOfmgVKaw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1761234576; x= 1761320976; bh=qBCmdmL5J5q0gznKvNUQ6g0wL3gYm23z19c5XzLTCnE=; b=L v+EMB9ZhRZnFLIKYWIJekQNoZ/k/lCjW3VRjmxXQHDVnAK8y6ALMOwhNt4+l2cRj KFWTCj+wOMUGbAPrUtNxuPmGw3bB8IPUdTuNiC0EAEscHLaKpXslWFmwV9nuVQxM MwNINYagewAChUWZZPcEKOalByJK090Rrz1PIu37Xhftk3nNr2LmiLkHupxDzCic EU1ur1VU7k6/waqLbucdmtO+uuVHllQGK1trIZajWIbvKoL1Sijc+yA7inqkH5jP 4eHJjcFVQ4DVgKgaWlEe5QqGP3JBy8OuWlQg/awJhuYG77RPgt9jt9JJociRo2mP zVCEnzQAJeqPHB1WQiA8g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddugeeikeeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejre dttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpefhveeihfevle fffedthedukeevfefhfedtgeeifeevteffgfefhedtffetudettdenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvg hrsegrkhhlrghvvghrrdgtohhmpdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhp ohhuthdprhgtphhtthhopehkrhhishhhnhgrrdhpghgusggrsehgmhgrihhlrdgtohhmpd hrtghpthhtohephhhtrghmfhhiughssehgmhgrihhlrdgtohhmpdhrtghpthhtoheptghh rhhishdoghhoohhglhgvsehqfihirhigrdgtohhmpdhrtghpthhtohepphhgshhqlhdqgh gvnhgvrhgrlheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 23 Oct 2025 11:49:35 -0400 (EDT) Message-ID: <8d340169-b500-4048-a665-0700813313a3@aklaver.com> Date: Thu, 23 Oct 2025 08:49:34 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Index corruption issue after migration from RHEL 7 to RHEL 9 (PostgreSQL 11 streaming replication) To: Bala M , Greg Sabino Mullane , chris+google@qwirx.com Cc: pgsql-general@lists.postgresql.org References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/23/25 07:51, Bala M wrote: > Hi All, > > Thank you for the valuable responses regarding the *index corruption > issue* we observed during our test migration of a *PostgreSQL 11* > environment from *RHEL 7 to RHEL 9* using *streaming replication*. > > Based on the replies, I understand that. > Suggested upgrading to a newer PostgreSQL version (e.g., v16 or v18) > and using *logical replication* or *pg_dump/restore* for a clean > rebuild. I am not sure version 18 would a good choice at this time, it has just been released and has no bug fix releases against it yet. Given the other complications in your upgrade, OS upgrade and multi-version jump, I don't think you want to add a brand new version to the mix. Postgres 17 on the other hand has been out a year and has had 6 bug/security fixes. It is probably a more stable target version. -- Adrian Klaver adrian.klaver@aklaver.com