Hi, I am importing a CSV file to postgres.
copy product from '/tmp/a.csv' DELIMITERS ',' CSV;
ERROR: duplicate key value violates unique constraint "product_pkey"
CONTEXT: COPY product, line 13: "1,abcd,100 pack"
What is the best way to avoid this error.. Would I have to write a python script to handle this error..