BUG #2341: Wrong results when using index

From: "Slavcho Ivanov" <slavcho(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2341: Wrong results when using index
Date: 2006-03-20 13:05:04
Message-ID: 200603201305.k2KD541F060441@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2341
Logged by: Slavcho Ivanov
Email address: slavcho(at)gmail(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Mattias Kregert 2006-03-20 15:07:39 BUG #2342: Extremely bad performance on a specific query, compared to 7.4
Previous Message Mikael Carneholm 2006-03-20 12:09:17 Re: unterminated dollar-quoted string at or near "$$ language plpgsql; " at character 1