Search Postgresql Archives

Re: About Types

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

 



> > This works fine, but I'm trying to avoid building a 
> specific type for 
> > each row returning function.
> > Is there any other solution (SQL or PLPGSQL)?
> 
> Yes, return setof record, look at this site, it helped me  a lot.
> 
> http://techdocs.postgresql.org/guides/SetReturningFunctions
> 

Thank you Miguel and Otto.
RECORD did the trick :-)

-- Hervé Inisan.



---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


[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