Re: "Compressed data is corrupt"

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matthias Leisi <matthias@leisi.net>
Cc: pgsql-general@postgresql.org
Date: 2012-03-01T21:50:29Z
Lists: 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