Thank you, I was just wondering if there is a simpler way... but ok
On Fri, Aug 26, 2016 at 5:29 PM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
I think you are looking for the RETURNS TABLE syntax.