Thread: Function returning SETOF RECORD

Function returning SETOF RECORD

From
"Roberto de Amorim"
Date:
Hi all

could anyone send me an example of function returning a SETOF RECORD with
language PLPGSQL?


Roberto de Amorim - +55 48 346-2243
Software engineer at SmartBit Software
roberto@smartbit.inf.br


Re: Function returning SETOF RECORD

From
Joe Conway
Date:
Roberto de Amorim wrote:
> could anyone send me an example of function returning a SETOF RECORD with
> language PLPGSQL?

See http://techdocs.postgresql.org/guides/SetReturningFunctions

Joe


Re: Function returning SETOF RECORD]

From
Bruce Momjian
Date:
I have that URL on the web FAQ now.

---------------------------------------------------------------------------

Joe Conway wrote:
> Roberto de Amorim wrote:
> > could anyone send me an example of function returning a SETOF RECORD with
> > language PLPGSQL?
>
> See http://techdocs.postgresql.org/guides/SetReturningFunctions
>
> Joe
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073