Re: Replica string comparsion issue

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrey Lizenko <lizenko79(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Replica string comparsion issue
Date: 2018-06-13 20:38:01
Message-ID: 32729.1528922281@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andrey Lizenko <lizenko79(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrey Lizenko 2018-06-13 21:03:11 Re: Replica string comparsion issue
Previous Message Peter Geoghegan 2018-06-13 20:24:16 Re: Replica string comparsion issue