uwcssa <uwcssa(at)gmail(dot)com> writes:
> I am using postgres 8.1. In indxpath.c, it says " Note: if Postgres tried
> to optimize queries by forming equivalence
> classes over equi-joined attributes (i.e., if it recognized that
> aqualification such as "where
> a.b=3Dc.d and a.b=3D5" could make use of
> an index on c.d), then we could use that equivalence class info here with
> joininfo_list to do more complete tests for the usability
> of a partial index. ..... XXX as of 7.1, equivalence class info *is*
> available."
Are you deliberately ignoring the rest of the comment?
regards, tom lane