Mark Liberman <[EMAIL PROTECTED]> writes:
> I've got a set-returning function, defined as STABLE, that I reference twice
> within a single query, yet appears to be evaluated via two seperate function
> scans.
There is no guarantee, express or implied, that this won't be the case.
(Seems like we just discussed this a couple days ago...)
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