You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the copy_from method but it doesn't allow to update existing data with Unique Constrains.
It gives the error: UniqueViolation: duplicate key value violates unique constraint.
Is there any way to force an update when inserting the data and avoid this error?
Thank you.
The text was updated successfully, but these errors were encountered:
pintopedro
changed the title
It not handle Unique Constrain Violation
It doesn't handle Unique Constrain Violation
Aug 6, 2022
I used the copy_from method but it doesn't allow to update existing data with Unique Constrains.
It gives the error: UniqueViolation: duplicate key value violates unique constraint.
Is there any way to force an update when inserting the data and avoid this error?
Thank you.
The text was updated successfully, but these errors were encountered: