Re: [GENERAL] database corruption? - Mailing list pgsql-general

From Elmar.Haneke@gmx.de
Subject Re: [GENERAL] database corruption?
Date
Msg-id 2FACD0736E@haneke.de
Whole thread Raw
List pgsql-general
Chris Jones schrieb:

> I'm currently getting this error on my nightly vacuum.  These two
> indices (as you may have guessed already) are on columns named
> interface and ewhen, on a table named error.  The error table is
> constantly being updated.  (No comments about the implications of
> that, please.)
>
> NOTICE:  Index error_interface_idx: NUMBER OF INDEX' TUPLES (226766) IS NOT THE SAME AS HEAP' (226765)
> NOTICE:  Index error_ewhen_idx: NUMBER OF INDEX' TUPLES (226766) IS NOT THE SAME AS HEAP' (226765)
> NOTICE:  Index error_interface_idx: NUMBER OF INDEX' TUPLES (226766) IS NOT THE SAME AS HEAP' (226765)
> NOTICE:  Index error_ewhen_idx: NUMBER OF INDEX' TUPLES (226766) IS NOT THE SAME AS HEAP' (226765)

The Index does not contain tuples having NULL in the indexed field.
You should check if you have an tuple containing NULL in your table.
If so remove or change the tuple or ignore the message.

Elmar

pgsql-general by date:

Previous
From: Alex Pilosov
Date:
Subject: binary data & LOBs
Next
From: Peter Eisentraut
Date:
Subject: Re: [GENERAL] Nested tables