Milan Oparnica <milan(dot)opa(at)gmail(dot)com> writes:> Is there any way to use INNER, LEFT and RIGHT JOIN between functions > returning refcursor type.
No. Make them return setof whatever instead.
regards, tom lane