Postgres: use prepared INSERT on remote server instead of COPY only.