Re: Reindex doesn’t not working replica nodes - Mailing list pgsql-admin

From Mohammed Afsar
Subject Re: Reindex doesn’t not working replica nodes
Date
Msg-id CA+6HdusYzHKxoUPHGrf6wVjBMe3Luo6S5iy+j9Dte+qija-0_w@mail.gmail.com
Whole thread Raw
In response to Re: Reindex doesn’t not working replica nodes  (Scott Ribe <scott_ribe@elevated-dev.com>)
List pgsql-admin
Got it thanks for the deep dive explanation.Scott 👍🏻

And parallel  we got below error also included OS incompatibility?

postgres[265938]: segfault at 18 ip 00000000004cf11b

Regards,
Mohammed Afsar


On Fri, 16 Aug 2024 at 6:49 PM, Scott Ribe <scott_ribe@elevated-dev.com> wrote:
> On Aug 16, 2024, at 7:08 AM, Mohammed Afsar <vmdapsar@gmail.com> wrote:
>
> We are using streaming replications but still reindex is not working source db has 11.15replica has 11.11 PostgreSQL version.

This is not your problem.

As you understand, I think, with streaming replication all files, including indexes, are exactly duplicated on the replica. If the OS on the two sides have different glibc versions which have different collations, then the index structure of the primary will be a corrupted index on the replica. You have to fix your OS version incompatibility, or move to a version of postgres which can use ICU collations and make sure that library is compatible on both sides.

pgsql-admin by date:

Previous
From: Scott Ribe
Date:
Subject: Re: Reindex doesn’t not working replica nodes
Next
From: Dirk Krautschick
Date:
Subject: ERROR: multixact "members" limit exceeded