Postgresql Function Return Inserted Rows