Thread: ClusterDB error message

ClusterDB error message

From
CG
Date:
PostgreSQL 7.4 :

Can anyone surmise what this message is really saying?

clusterdb: clustering of table "letter" in database "addata" failed: ERROR:
could not access status of transaction 1696665057
DETAIL:  could not open file "/usr/local/pgsql/data/pg_clog/0652": No such file
or directory
CONTEXT:  SQL function "letter_owner" statement 1

It happens when I try to cluster on any index created for the table, both
column-based indexes and function-based indexes. I've tried re-indexing the
table. It yielded no change.

Please advise!






__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

Re: ClusterDB error message

From
Tom Lane
Date:
CG <cgg007@yahoo.com> writes:
> Can anyone surmise what this message is really saying?

> clusterdb: clustering of table "letter" in database "addata" failed: ERROR:
> could not access status of transaction 1696665057
> DETAIL:  could not open file "/usr/local/pgsql/data/pg_clog/0652": No such file or directory

This is a corrupt-data problem: the xmin or xmax field of a row header
has been overwritten with garbage.  (Very likely, more than that has
been overwritten, but xmin/xmax is usually the first thing looked at
so this is the typical symptom.)

See the PG list archives for prior discussions of how to isolate and get
rid of corrupted rows.

            regards, tom lane