Dealing with errors during a copy from

Posted by jlfenaux on Stack Overflow See other posts from Stack Overflow or by jlfenaux
Published on 2010-03-15T16:57:33Z Indexed on 2010/03/15 16:59 UTC
Read the original article Hit count: 139

Filed under:

I've to import a file from an external source to a postgresql table. I tried to do it with \copy from , but I keep getting errors (additional columns) in the middle of the file.

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

Thanks

© Stack Overflow or respective owner

Related posts about postgresql