PostgreSQL data importer using COPY