Select (myfunc('foo','bar')).*;
This should be avoided. Use lateral instead,or a cte a/o offset 0. My_func is evaluated twice (once per column) if called this way
Or
Select * from myfunc('foo','bar');
This is ok
David J.
Select (myfunc('foo','bar')).*;
Or
Select * from myfunc('foo','bar');