Postgresql Create Function Insert Into Values Multiple Rows In Pivot