Okay, apparently I'm the only person who doesn't like code like this :) Attached is a revised patch that doesn't make this change.
Applied.
-Neil
---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match