Re: Record not returned until index is rebuilt

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Nik" <XLPizza(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Record not returned until index is rebuilt
Date: 2007-01-26 21:26:00
Message-ID: 29232.1169846760@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Nik" <XLPizza(at)gmail(dot)com> writes:
> I have the following table definition in postgres 8.0:

PG 8.0.what, exactly?

> Why is it that the record is visible when bulk selected, but not when
> selected as a part of the WHERE clause, and why is it that the index
> rebuild and vacuum fixes the problem?

Sounds like a corrupted index. It seems pretty odd that you would be
getting recurring corruptions like that --- we've recently fixed some
corner case bugs causing index corruption, but they're not all that easy
to trigger (and most of the ones I remember had other symptoms than just
search misses). How much faith have you got in your hardware platform?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2007-01-26 21:36:42 Re: PostgreSQL data loss
Previous Message Reid Thompson 2007-01-26 21:20:38 Re: Sample C++ code using libpqxx/Postgresql sought