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 1mfcI5-0000FH-Nz for pgsql-general@arkaria.postgresql.org; Wed, 27 Oct 2021 06:20:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mfcI4-0001Go-KN for pgsql-general@arkaria.postgresql.org; Wed, 27 Oct 2021 06:20:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfcI4-0001Gf-Ak for pgsql-general@lists.postgresql.org; Wed, 27 Oct 2021 06:20:00 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfcI1-0007ZG-Aq for pgsql-general@postgresql.org; Wed, 27 Oct 2021 06:19:59 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 19R6Jsnn209376; Wed, 27 Oct 2021 02:19:54 -0400 From: Tom Lane To: Jayadevan M cc: "pgsql-general@postgresql.org" Subject: Re: String comparison fails for some cases after migration In-reply-to: References: Comments: In-reply-to Jayadevan M message dated "Wed, 27 Oct 2021 11:41:41 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <209374.1635315594.1@sss.pgh.pa.us> Date: Wed, 27 Oct 2021 02:19:54 -0400 Message-ID: <209375.1635315594@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Jayadevan M writes: > We moved our PostgreSQL database from one hosting provider to another using > pgbackrest. In the new environment, some comparison operations were > failing. The issue was fixed by running an update. But I am trying to find > out what would have happened. Did the underlying OS version change? If so, see https://wiki.postgresql.org/wiki/Locale_data_changes regards, tom lane