Re: HINT: Please REINDEX it?

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: HINT: Please REINDEX it?
Date: 2009-03-26 15:32:46
Message-ID: 20090326153246.GH12225@frubble.xen.chris-lamb.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Mar 26, 2009 at 09:00:53AM +0100, Bjørn T Johansen wrote:
> ERROR: index "connect_idx" contains unexpected zero page at block 208
> HINT: Please REINDEX it.
>
> What does this mean?

It means something bad has happened to an index. If you're running
an old version of PG then you may be affected by a known bug or you
could have bad hardware. Did the computer have its power turned off
unexpectedly, as if things are set up right then this could affect
things.

I've just had a quick search and you seemed to be running 8.3.5 before,
there don't seem to be any index related changes since then so maybe
your hardware isn't doing what it's told to!

> And how do I reindex it?

Just type:

REINDEX connect_idx;

in psql.

--
Sam http://samason.me.uk/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-03-26 15:34:52 Re: Weird encoding behavior
Previous Message Sam Mason 2009-03-26 15:19:36 Re: log shipping from 64 bit linux server to a 32 bit linux server