Re: 7.0.3 BUG - Mailing list pgsql-sql

From Tom Lane
Subject Re: 7.0.3 BUG
Date
Msg-id 18195.975110309@sss.pgh.pa.us
Whole thread Raw
In response to Re: 7.0.3 BUG  ("tjk@tksoft.com" <tjk@tksoft.com>)
List pgsql-sql
"tjk@tksoft.com" <tjk@tksoft.com> writes:
> Just a wild guess, but I would imagine 
> a corrupt (old) index on the userid field would
> cause this kind of behavior.

A corrupt index might be a contributing factor, but it doesn't seem like
it could be the only one.  From what I know of the index routines, an
entry should not be returned unless it is confirmed to pass the
indexqual condition.  Corrupt indexes can lead to missing output
(because tuples that should match never get visited) but they shouldn't
lead to outputting tuples that don't match.

In any case, we don't even know whether this query used an indexscan...
        regards, tom lane


pgsql-sql by date:

Previous
From: "tjk@tksoft.com"
Date:
Subject: Re: 7.0.3 BUG
Next
From: Ramesh H R
Date:
Subject: How to set autocommit true/false from a java program