Work with errors while copying from

I need to import a file from an external source into a postgresql table. I tried to do this with \ copy, but I keep getting errors (extra columns) in the middle of the file.

Is there a way to tell postgresql to ignore lines containing errors during "\ copy from"?

thank

+5
source share
2 answers

Try instead of PostgreSQL Loader .

+2
source

No. All data is correct or no data, these are two options that you have in PostgreSQL.

+1
source

All Articles