Re: Replica string comparsion issue

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Replica string comparsion issue
Дата
Msg-id CAH2-Wz=_YkpZbmxC1yAE-MZhYtwMGjVLe40VSC=kjfmooAQNuA@mail.gmail.com
обсуждение исходный текст
Ответ на Replica string comparsion issue  (Andrey Lizenko <lizenko79@gmail.com>)
Список pgsql-general
On Wed, Jun 13, 2018 at 1:10 PM, Andrey Lizenko <lizenko79@gmail.com> wrote:
> I'm observing strange behaviour on comparing ::text field with string while
> quering replica.

The first thing to do here is to install amcheck on the replica, and
verify that the indexes are consistent with the replica's own notion
of how text sorts for the collation that is implicitly in use (the
database default):

https://www.postgresql.org/docs/current/static/amcheck.html

You can modify the example query to check the indexes that you're
interested in. I think that there is a very strong chance that the
replica has incompatible collation rules, given that it uses a totally
different OS.

-- 
Peter Geoghegan


В списке pgsql-general по дате отправления:

Предыдущее
От: Andrey Lizenko
Дата:
Сообщение: Replica string comparsion issue
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Replica string comparsion issue