On Thursday 20 October 2005 23:48, Tom Lane wrote: > Give us a test case to demonstrate this assertion. It works as expected > AFAICT. > Indeed it does. I forgot to mention that the first function to be called was language plruby. Maybe that has anything to do with it. I'll try to come with something more concrete. Thanks, Han Holl ---------------------------(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