SELECT min(id) FROM test; uses seqscan

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: SELECT min(id) FROM test; uses seqscan
Date: 2001-05-02 13:08:55
Message-ID: 200105021308.f42D8tJ85559@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Nick Gazaloff (nick(at)club(dot)pyat(dot)ru) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
SELECT min(id) FROM test; uses seqscan

Long Description
SELECT min(id) FROM test; uses sequential scan even if an index on "id" exists. VACUUM ANALYZE doesn't help.

Sample Code

No file was uploaded with this report

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Philip Warner 2001-05-03 02:50:05 Re: SELECT min(id) FROM test; uses seqscan
Previous Message Chris Storah 2001-05-02 09:40:38 Re: 7.1 euro-style dates insert error