pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: tjk@tksoft.com <tjk@tksoft.com>
Cc: pgsql-sql@fc.emc.com.ph
Cc: pgsql-sql@postgresql.org
Subject: Re: 7.0.3 BUG
Date: Fri, 24 Nov 2000 18:58:29 -0500
Message-ID: <18195.975110309@sss.pgh.pa.us> (raw)
In-Reply-To: <200011242351.PAA31767@uno.tksoft.com>
References: <200011242351.PAA31767@uno.tksoft.com>

"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



view thread (5+ messages)  latest in thread

Message-ID: <18195.975110309@sss.pgh.pa.us>
Permalink:  ../18195.975110309@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18195.975110309@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tjk@tksoft.com, pgsql-sql@fc.emc.com.ph
  Subject: Re: 7.0.3 BUG
  In-Reply-To: <18195.975110309@sss.pgh.pa.us>
  References: <200011242351.PAA31767@uno.tksoft.com> <18195.975110309@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox