BUG #1487: Index problem

From: "Tom Yeh" <tom_m_yeh(at)yahoo(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1487: Index problem
Date: 2005-02-18 05:27:15
Message-ID: 20050218052715.EDA66F0B0C@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1487
Logged by: Tom Yeh
Email address: tom_m_yeh(at)yahoo(dot)com
PostgreSQL version: 8.0.1
Operating system: Windows XP
Description: Index problem
Details:

I created an index for a table, say Entity, on a field, say id.

Then, the follwoing two SQL has different result:

select * from "Entity" e where e.id = '1000'

and

select * from "Entity" e where e.id like '1000'

(The later uses sequential scan. BTW, while 7.4.x uses index why 8.0 behave
worse?)

Once I re-index it, the problem is gone. However, the problem comes back
randomly if I change some id.

The above can be replicated by using pgAdmin III only.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jean-Pierre Pelletier 2005-02-18 15:48:28 could not read, could not write, could not fsync, Windows 2000, PostgreSQL 8.0.1
Previous Message Andrew Gold 2005-02-17 18:41:25 BUG #1486: Apostrophes are not ignored in pgplsql comments