SELECT min(id) FROM test; uses seqscan
PostgreSQL Bugs List <pgsql-bugs@postgresql.org>
From: pgsql-bugs@postgresql.org
To: pgsql-bugs@postgresql.org
Date: 2001-05-02T13:08:55Z
Lists: 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