[EMAIL PROTECTED] wrote: > Why PG do not use index? > select max(id) from akh_testing_result
What PG version are you using? Recent versions should indeed use the index. Perhaps you just need to upgrade. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs