Postgres Split Row Into Multiple Rows Insert Into Sql