Search Postgresql Archives

Re: Corrupt Index

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jorel Casal <jcasal@xxxxxxx> writes:
> During a Patroni leader switchover, we had a situation where a unique index
> stopped "working", the index did not have records
> that were in fact in the table and the table had duplicate records which
> should have been prevented by said unique index.

If the index was on a string type (text/varchar), the most likely
explanation is a switch to a different OS version with inconsistent
collation rules.  See

https://wiki.postgresql.org/wiki/Locale_data_changes

			regards, tom lane





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux