Postgresql Return Data From Procedure