I can import a csv file into a table with success.
But if I try to import again the same csv file (edited a bit) I get an error because the primary key of the rows are already into the table of the db.

For ex. this is the content of the csv file I can import with success (the first value is the primary key):

Then I edit that csv file:

I would like to reimport this file with the following behavior:
row 1 is updated and row 3 is added.

How can I do?
I'm using pgAdmin3.

Thank you in advance for any answer.