Search Postgresql Archives

Re: Confused about a function returning SETOF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, duh!  Thank you.  I could have stared at it for hours without seeing
it...

> -----Original Message-----
> From: Tom Lane [mailto:tgl@xxxxxxxxxxxxx]
> Sent: Tuesday, March 21, 2006 11:12 PM
> To: ken@xxxxxxxxxxx
> Cc: PostgreSQL pg-general List
> Subject: Re: [GENERAL] Confused about a function returning SETOF
> 
> "Ken Winter" <ken@xxxxxxxxxxx> writes:
> > select lov_personinorganization_role_status('Student','Applicant');
> > ERROR:  set-valued function called in context that cannot accept a set
> 
> You need to write
>   select * from
> lov_personinorganization_role_status('Student','Applicant');
> 
> 			regards, tom lane




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux