Vincenzo Romano <[EMAIL PROTECTED]> writes: > In the original setup, the "UNIQUE" constraint had been dropped > *before* doing the tests. So the "slow" case is without the UNIQUE > constraint but with an index. The NOT NULL was instead there.
With what index, pray tell?
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
