Re: Function to return both integer and SETOF refcursor

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chuck Bai <cbai22(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Function to return both integer and SETOF refcursor
Date: 2008-05-17 03:01:57
Message-ID: 18622.1210993317@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Chuck Bai <cbai22(at)gmail(dot)com> writes:
> I got the following error when try to create a function to return an
> integer and SETOF refcursor.

You can't. Perhaps it'd be enough to return the same integer value in
each row of the output?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2008-05-17 04:33:06 Re: Select unique set of record, distinct on, please help!!!
Previous Message Tom Lane 2008-05-17 02:50:45 Re: Using role priviledges for pg_dump