Re: "Compressed data is corrupt" - Mailing list pgsql-general

From Tom Lane
Subject Re: "Compressed data is corrupt"
Date
Msg-id 18379.1330638629@sss.pgh.pa.us
Whole thread Raw
In response to "Compressed data is corrupt"  (Matthias Leisi <matthias@leisi.net>)
List pgsql-general
Matthias Leisi <matthias@leisi.net> writes:
> I have a behaviour of Postgres which I do not understand (and thus can
> not fix...). When inserting into a log-like table, I get the error
> message "compressed data is corrupt" for certain (rare) combination of
> values. When I re-create the same table structure from scratch and
> insert the same data in to that table, the error does not appear.

The most obvious theory for this is a corrupted index entry in the pkey
index.  Does the issue go away if you REINDEX?

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: 2 x duplicate key value violation: which exception comes first ?
Next
From: Lonni J Friedman
Date:
Subject: pg_upgrade + streaming replication ?