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 1jcCoq-0004dK-Kf for pgsql-general@arkaria.postgresql.org; Fri, 22 May 2020 18:54:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jcCon-0005di-4m for pgsql-general@arkaria.postgresql.org; Fri, 22 May 2020 18:54:53 +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 1jcCom-0005YS-SY for pgsql-general@lists.postgresql.org; Fri, 22 May 2020 18:54:52 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.125]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jcCog-0001LH-Ab for pgsql-general@postgresql.org; Fri, 22 May 2020 18:54:52 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 6DD9C1BEC; Fri, 22 May 2020 21:54:44 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at vm-hot-relay10.estpak.ee Received: from portal-smtp-out.hot.ee ([127.0.0.1]) by localhost (vm-hot-relay10.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IhJK02xEH7KO; Fri, 22 May 2020 21:54:42 +0300 (EEST) Received: from mail.hot.ee (hot-relayhost3.estpak.ee [213.180.2.81]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 3BB2B156B; Fri, 22 May 2020 21:54:42 +0300 (EEST) Received: from dell2 (66-63-196-88.sta.estpak.ee [88.196.63.66]) (Authenticated sender: kobruleht2) by HOT-Relayhost3.estpak.ee (Postfix) with ESMTPSA id 49TFz33wsSz16Z; Fri, 22 May 2020 21:54:38 +0300 (EEST) Message-ID: <4D7B766329AC4875AAC6FFADA988A9C4@dell2> From: "Andrus" To: "Tom Lane" Cc: "Adrian Klaver" , "pgsql-general" References: <2B1267647FD14565B73801AF12CA1A88@dell2> <17696.1590101245@sss.pgh.pa.us> <25753.1590157378@sss.pgh.pa.us> <28282.1590161081@sss.pgh.pa.us> In-Reply-To: <28282.1590161081@sss.pgh.pa.us> Subject: Re: Query returns no rows in pg_basebackup cluster Date: Fri, 22 May 2020 21:54:34 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi! >> ERROR: item order invariant violated for index "desktop_baas_liigid_idx" >> DETAIL: Lower index tid=(3,15) (points to index tid=(16,4098)) higher index tid=(3,16) (points to index tid=(17,4098)) page >> lsn=292/630C0CE8. >> SQL state: XX002 >Uh huh ... and I'll bet the same test on the source server is just fine? >I don't find it surprising in the least that different platforms have >different ideas on fine points like how to sort a leading underscore. >Those things just aren't that well standardized. This column is not used for locale specific data. Running alter table desktop alter baas type char(8) collate ucs_basic fixes the issue. Is this fix reasonable ? What other issues may occur ? Can base backup created in windows using pg_basecakup used in Linux without such fix? Andrus.