Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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                      
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to


pgsql-sql by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group