pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrus <kobruleht2@hot.ee>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Query returns no rows in pg_basebackup cluster
Date: Fri, 22 May 2020 21:54:34 +0300
Message-ID: <4D7B766329AC4875AAC6FFADA988A9C4@dell2> (raw)
In-Reply-To: <28282.1590161081@sss.pgh.pa.us>
References: <2B1267647FD14565B73801AF12CA1A88@dell2>
	<ea1e505d-d049-1d1d-e3b3-e655928949b8@aklaver.com>
	<17696.1590101245@sss.pgh.pa.us>
	<F46F2062ECC141E1B31DE872816E7F96@dell2>
	<25753.1590157378@sss.pgh.pa.us>
	<AB3D504B61A441A5B825201534E52095@dell2>
	<28282.1590161081@sss.pgh.pa.us>

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.





view thread (25+ messages)  latest in thread

Message-ID: <4D7B766329AC4875AAC6FFADA988A9C4@dell2>
Permalink:  ../4D7B766329AC4875AAC6FFADA988A9C4@dell2/
Also on:    postgresql.org/message-id/4D7B766329AC4875AAC6FFADA988A9C4@dell2

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: kobruleht2@hot.ee, tgl@sss.pgh.pa.us, adrian.klaver@aklaver.com
  Subject: Re: Query returns no rows in pg_basebackup cluster
  In-Reply-To: <4D7B766329AC4875AAC6FFADA988A9C4@dell2>
  References: <2B1267647FD14565B73801AF12CA1A88@dell2> <ea1e505d-d049-1d1d-e3b3-e655928949b8@aklaver.com> <17696.1590101245@sss.pgh.pa.us> <F46F2062ECC141E1B31DE872816E7F96@dell2> <25753.1590157378@sss.pgh.pa.us> <AB3D504B61A441A5B825201534E52095@dell2> <28282.1590161081@sss.pgh.pa.us> <4D7B766329AC4875AAC6FFADA988A9C4@dell2>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox