I have to dump large amount of data from file to a table PostgreSQL. I know it does not support \'Ignore\' \'replace\' etc as done in MySql. Almost all posts regarding this
Insert into a temp table grouped by the key so you get rid of the duplicates
and then insert if not exists