>
> What I would like to do is create the result table in the function
> and/or accept a table name as a parameter. I can\\\\\\\'t seem to do this,
> perhaps I am missing something trivial.
>
You could do a \\\\\\\"select into\\\\\\\" to do this
http://www.postgresql.org/users-lounge/docs/7.0/user/sql-selectinto.htm
Rodrigo F.
-----------------------------------------------------
This mail sent through IMP: http://web.horde.org/imp/