I am working on a windows application.
I want to import a .csv file into postgresql table. For this purpose I have tried COPY command. This command loaded the file with some errors. It has skipped some row due to incompatible data types. I want to log these incompatible rows into some log file.
Is there a way to log skipped/invalid rows into some log file using COPY command.
What are the other options available in postgressql for bulk insert that will import data and also log errors into some log file.