Postgres Function To Insert Data Into Table In Excel