Is it possible to print which key value is duplicated when 'Duplicate key value violates unique constraint' occurs? Foreign key violation error reports such kind of information.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных