开发者

Dealing with errors during a copy from

开发者 https://www.devze.com 2022-12-23 03:42 出处:网络
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.

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开发者_JAVA百科 a "\copy from" ?

Thanks


Give it a try with PostgreSQL Loader instead.


No. All data is correct or there is no data at all, those are the two options you have in PostgreSQL.

0

精彩评论

暂无评论...
验证码 换一张
取 消