BUG #2341: Wrong results when using index - Mailing list pgsql-bugs

From Slavcho Ivanov
Subject BUG #2341: Wrong results when using index
Date
Msg-id 200603201305.k2KD541F060441@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #2341: Wrong results when using index  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      2341
Logged by:          Slavcho Ivanov
Email address:      slavcho@gmail.com
PostgreSQL version: 8.1.2
Operating system:   slackware
Description:        Wrong results when using index
Details:

It happend so that a query started returning wrong results.

The query was as simple as possible
  "select * from data where "SensorID" = 18",
and the result had a couple of rows where SensorID was NOT 18, but 3.

There was a index at the table using only ("SensorID").

After we dropped the index. It was OK. The query started again to show good
results.

We created the index again. And still it was OK.

Unfortunatelly (for you, good for us), there are no more problems of that
kind.

There are about 85 000 rows in that table, and we don't use "delete" or
"update" there - only insert new rows. Hope it helps.

Sincerely:
  Slavcho Ivanov

pgsql-bugs by date:

Previous
From: Mario
Date:
Subject: Problem in connection
Next
From: "Mattias Kregert"
Date:
Subject: BUG #2342: Extremely bad performance on a specific query, compared to 7.4