Re: Example of function returning SETOF RECORD

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Fetter <david(at)fetter(dot)org>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Example of function returning SETOF RECORD
Date: 2004-10-23 05:12:02
Message-ID: 22439.1098508322@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

David Fetter <david(at)fetter(dot)org> writes:
>> Here's a patch that adds an example of using SETOF RECORD with the
>> needed grammar.

I'm having a bit of a problem with this, because it is a plpgsql example
inserted into a section that is solely about SQL-language functions.
Can you adapt it to be an SQL function? Or put the example into the
plpgsql chapter?

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2004-10-23 13:40:35 to_char/to_number loses sign
Previous Message Tom Lane 2004-10-22 22:34:38 Re: tsearch build on win32