Re: BUG #18756: Postgres corruption - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18756: Postgres corruption
Date
Msg-id 3724195.1735513819@sss.pgh.pa.us
Whole thread Raw
In response to BUG #18756: Postgres corruption  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> We saw a corruption in 3 different environments in one of the unique indexes
> (named “npn”) in “files” table.
> It seems as if not all the rows (that should be part of this index) in the
> table are indexed, and therefore “duplicated” rows (rows that violates the
> index constraint) are allowed to be inserted to DB.

Are any of the indexed columns of string types (text, varchar, etc)?
And have you upgraded the underlying OS since creating the index?
If so, you've likely been bit by locale changes.  See

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

            regards, tom lane



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #18756: Postgres corruption
Next
From: Michael Misiewicz
Date:
Subject: pg_upgrade cannot create btrfs clones on linux kernel 6.8.0