"Jackie Leng" <[EMAIL PROTECTED]> writes:
> So, my question is why not just add a bms_intersect in the second occasion
> just like the first one? Do we need to change so much?

finalize_plan already has a bms_intersect, but it's further down in the
routine (to share code instead of duplicating it in each of the switch
cases) --- in CVS HEAD, line 1199.  This is not relevant to the patch
AFAICS.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to