Search Postgresql Archives

Re: PL/pgSQL and SETOF

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

 



On 30/11/2007, Alvaro Herrera <alvherre@xxxxxxxxxxxxxx> wrote:> Pavel Stehule escribió:> > On 30/11/2007, Cultural Sublimation <cultural_sublimation@xxxxxxxxx> wrote:>> > > But still on that subject: is my version of get_items2 the simplest> > > that is possible in PL/pgSQL?  It seems awfully verbose compared to> > > the SQL version...> >> > no. Your simplest version is historic relict and is available only in> > sql language. I am not sure, maybe in C language too.>> But isn't the case that on 8.3 you would be able to rewrite it more> easily using RETURN QUERY?>
yes. sure. But it is different question than call SRF function innormal context.
Pavel

> --> Alvaro Herrera                          Developer, http://www.PostgreSQL.org/> "Pido que me den el Nobel por razones humanitarias" (Nicanor Parra)>
---------------------------(end of broadcast)---------------------------TIP 1: if posting/reading through Usenet, please send an appropriate       subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your       message can get through to the mailing list cleanly

[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