I have a Postgres database on Heroku. I connect to it using pgadmin. I exported a table data to csv. Edited some of the cells and now I want to replace the same table with the corrected csv. But when I try to import the csv I get this error
I researched on this error. I understood that it tries to add more rows to existing table and the primary key clashes. But I couldn't get my solution. I want to replace the table with new updated csv.
Thanks