Search Postgresql Archives

Re: PostgreSQL Functions / PL-Language

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

 





> Why does my stored function returns only the first row of the query instead
> of the whole set of query?

Did you declare your function to return "setof <whatever>" ?

I did but I don't know if I have to iterate/loop and use "return next setof_foo"
or just use return next as it is.



[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