Re: Strangeness with UNIQUE indexes and UTF-8 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Strangeness with UNIQUE indexes and UTF-8
Date
Msg-id 634925.1622992107@sss.pgh.pa.us
Whole thread Raw
In response to Re: Strangeness with UNIQUE indexes and UTF-8  (Omar Kilani <omar.kilani@gmail.com>)
Responses Re: Strangeness with UNIQUE indexes and UTF-8  (Omar Kilani <omar.kilani@gmail.com>)
List pgsql-hackers
Omar Kilani <omar.kilani@gmail.com> writes:
> This is a very old database (2004) that has moved forward via pg_upgrade. I
> think we did a pg_dump and pg_restore every time we hit some major
> incompatibility like float vs integer date times.

If it's that old, it's likely also survived multiple OS upgrades.
It seems clear that this index has been corrupt for awhile, and
I'm wondering whether the corruption was brought on by an OS
locale change.  There's useful info at

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

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Since '2001-09-09 01:46:40'::timestamp microseconds are lost when extracting epoch
Next
From: Omar Kilani
Date:
Subject: Re: Strangeness with UNIQUE indexes and UTF-8