I'm working with PostgreSQL 8.1 and I have a table with a composite primary key of 3 elements and no other indexes: PRIMARY KEY (el1, el2, el3)
If I make a select operation like SELECT * FROM table WHERE el1 IN (...), will the operation take into account the fact that the primary key contains el1 or it will be slower because there is no index that can help?
Thanks.