=?iso-8859-2?Q?Egy=FCd_Csaba_=28Freemail=29?= <csegyud(at)freemail(dot)hu> writes:
> The point is that there are cases where a primary key index is not used -
> even if the condition is formaly good.
You haven't actually shown us such a case. In the case you gave,
I think the planner probably made the right choice not to use the index.
regards, tom lane