JOIN results of refcursor functions

Поиск
Список
Период
Сортировка
От Milan Oparnica
Тема JOIN results of refcursor functions
Дата
Msg-id 49276261.7080003@gmail.com
обсуждение исходный текст
Ответы Re: JOIN results of refcursor functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Zagato
Дата:
Сообщение: Interval Format
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Interval Format