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 1jc8Zw-00060Q-Qw for pgsql-general@arkaria.postgresql.org; Fri, 22 May 2020 14:23:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jc8Zv-0002Zt-NR for pgsql-general@arkaria.postgresql.org; Fri, 22 May 2020 14:23:15 +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 1jc8Zv-0002Zl-FC for pgsql-general@lists.postgresql.org; Fri, 22 May 2020 14:23:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jc8Zp-000447-96 for pgsql-general@postgresql.org; Fri, 22 May 2020 14:23:14 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 04MEMwTI025754; Fri, 22 May 2020 10:22:58 -0400 From: Tom Lane To: "Andrus" cc: "Adrian Klaver" , "pgsql-general" Subject: Re: Query returns no rows in pg_basebackup cluster In-reply-to: References: <2B1267647FD14565B73801AF12CA1A88@dell2> <17696.1590101245@sss.pgh.pa.us> Comments: In-reply-to "Andrus" message dated "Fri, 22 May 2020 08:52:28 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25752.1590157378.1@sss.pgh.pa.us> Date: Fri, 22 May 2020 10:22:58 -0400 Message-ID: <25753.1590157378@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "Andrus" writes: >> No, what it sounds like is the OP tried to physically replicate a >> database on another platform with completely different sorting rules. > The sorting rules for this locale must be the same in both platforms. > Only locale names are different. I think they are less alike than you hoped, because if they were alike, you wouldn't be seeing this problem. Possibly you could try running contrib/amcheck on the index in question and see if it reports any issues. regards, tom lane