From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrey Lizenko <lizenko79@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Replica string comparsion issue
Date: Wed, 13 Jun 2018 17:13:08 -0400
Message-ID: <7079.1528924388@sss.pgh.pa.us> (raw)
In-Reply-To: <CADKuZZC79Wgenf87=2e8zzQXE7VNGsWwVKSDw4NQ7rMrjRLRDQ@mail.gmail.com>
References: <CADKuZZD=N6P11z0YXOSJ+JtrJhMOg7nMB6DRmcz_ZURE09_xow@mail.gmail.com>
<32729.1528922281@sss.pgh.pa.us>
<CADKuZZC79Wgenf87=2e8zzQXE7VNGsWwVKSDw4NQ7rMrjRLRDQ@mail.gmail.com>
Andrey Lizenko <lizenko79@gmail.com> writes:
> Another point regarding collations: query with ORDER BY returns different
> record set on master and on replica if more than one column used:
When I saw Peter's reply, I figured he'd nailed it, and this seems to
be more evidence pointing in that direction. If the standby's OS
sorts strings differently than the master does, the index will seem
corrupt to it, even if it's fine on the master.
regards, tom lane
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: tgl@sss.pgh.pa.us, lizenko79@gmail.com
Subject: Re: Replica string comparsion issue
In-Reply-To: <7079.1528924388@sss.pgh.pa.us>
References: <CADKuZZD=N6P11z0YXOSJ+JtrJhMOg7nMB6DRmcz_ZURE09_xow@mail.gmail.com> <32729.1528922281@sss.pgh.pa.us> <CADKuZZC79Wgenf87=2e8zzQXE7VNGsWwVKSDw4NQ7rMrjRLRDQ@mail.gmail.com> <7079.1528924388@sss.pgh.pa.us>
* 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