SELECT min(id) FROM test; uses seqscan - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject SELECT min(id) FROM test; uses seqscan
Date
Msg-id 200105021308.f42D8tJ85559@hub.org
Whole thread Raw
Responses Re: SELECT min(id) FROM test; uses seqscan
Re: SELECT min(id) FROM test; uses seqscan
List pgsql-bugs
Nick Gazaloff (nick@club.pyat.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

pgsql-bugs by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: Dates and times (and timestamps) don't behave as expected
Next
From: Chris Storah
Date:
Subject: Re: 7.1 euro-style dates insert error