Postgresql Function Return Inserted Rows In Excel