postgresql duplicate key violates unique constraint

Robby Russell wrote: