Re: JOIN results of refcursor functions

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Milan Oparnica <milan(dot)opa(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: JOIN results of refcursor functions
Date: 2008-11-27 20:45:09
Message-ID: 20081127204509.GJ4586@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Milan Oparnica escribió:
> Tom Lane wrote:
>> 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.
>>
> I would like yo avoid creating custom composite types required for setof.

Then use OUT variables.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message John Dizaro 2008-11-28 10:37:27 Re: UPDATE and DELEte with a lot of register is to slow...
Previous Message Milan Oparnica 2008-11-27 20:27:51 Re: JOIN results of refcursor functions