Thanks for the recommendations. Unfortunately I have to clean out the data
before I insert, so I cannot do a bulk copy from a CSV, I will try the
option of inserting into src table and then copying relevant data to dest
table and see if that works faster for me. I suppose I could bulk insert and
then clean out the data before I insert into destination table. I'll have to
see how long that takes.
View this message in context: http://postgresql.1045698.n5.nabble.com/ignore-unique-violation-OR-check-row-exists-tp5117916p5120317.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.
In response to
pgsql-sql by date
|Next:||From: Feike Steenbergen||Date: 2012-01-05 06:20:36|
|Subject: Re: Current transaction is aborted, commands ignored until end
of transaction block|
|Previous:||From: Zdravko Balorda||Date: 2012-01-04 12:33:55|
|Subject: Re: ignore unique violation OR check row exists|