change COPY format from CSV to TEXT, use ctid in postgres to remove header