Re: Replica string comparsion issue - Mailing list pgsql-general

From Tom Lane
Subject Re: Replica string comparsion issue
Date
Msg-id 32729.1528922281@sss.pgh.pa.us
Whole thread Raw
In response to Replica string comparsion issue  (Andrey Lizenko <lizenko79@gmail.com>)
Responses Re: Replica string comparsion issue  (Andrey Lizenko <lizenko79@gmail.com>)
List pgsql-general
Andrey Lizenko <lizenko79@gmail.com> writes:
> I'm observing strange behaviour on comparing ::text field with string while
> quering replica.

These symptoms seem consistent with the theory that the replica's index
for that column (symbols_aggregates_uniq) is corrupt.  I think your
casts etc are just serving to defeat selection of an indexscan.

Why it's corrupt, I dunno, but you might try forcing a reindex on the
master.

            regards, tom lane


pgsql-general by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Replica string comparsion issue
Next
From: Andrey Lizenko
Date:
Subject: Re: Replica string comparsion issue