Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group