結果 : postgresql function return record instead of table