[Dropping pgsql-general@ from the CC, because cross-posting triggers moderation; sorry I didn't notice that on my first reply]
On Mon, Mar 15, 2021 at 2:05 PM Avinash Kumar <avinash.vallar...@gmail.com> wrote: > On Sun, Mar 14, 2021 at 10:01 PM Avinash Kumar <avinash.vallar...@gmail.com> > wrote: >> Also the datatype is bigint Ok. Collation changes are the most common cause of index problems when upgrading OSes, but here we can rule that out if your index is on bigint. So it seems like this is some other kind of corruption in your database, or a bug in the deduplication code.