JOIN results of refcursor functions - Mailing list pgsql-sql

From Milan Oparnica
Subject JOIN results of refcursor functions
Date
Msg-id 49276261.7080003@gmail.com
Whole thread Raw
Responses Re: JOIN results of refcursor functions
List pgsql-sql
Hi,

Is there any way to use INNER, LEFT and RIGHT JOIN between functions 
returning refcursor type.

Explain:

function1 as refcursor
function2 as refcursor

both functions return columns a and b.

can i join the results of these functions in such manner (or any other):

function3 as refcursor

select f1.a, f2.b
from function1 as f1 inner join function2 as f2 on f1.a=f2.a;

open f3;
return f3;

Thanks,

Milan Oparnica.



pgsql-sql by date:

Previous
From: Zagato
Date:
Subject: Interval Format
Next
From: Tom Lane
Date:
Subject: Re: Interval Format