"Kenji Sugita" <sugita@srapc1327.sra.co.jp> wrote:
> =# explain select * from class1 where id = 1234;
> QUERY PLAN
> ----------------------------------------------------------------------
--------
> Index Scan using class1_id_index on class1 (cost=0.00..3.01 rows=2
width=4)
> Index Cond: (id = 1234)
> (2 rows)
I don't think that the select is really performed, try the same experiment
but doing
explain analyze instead.
Regards
Gaetano Mendola