Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Postgresql-Bulk Load

$
0
0
Hello All,

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.

Regards,
Faisal Iqbal

Viewing all articles
Browse latest Browse all 13329

Trending Articles