UNIQUE_VIOLATION, Finding out which index would have been violated

Поиск
Список
Период
Сортировка
Искать

UNIQUE_VIOLATION, Finding out which index would have been violated

От:
Petri Simolin <petrisimolin@petrisimolin.com>
Дата:
Greetings list,

I have created a function which inserts a row in a table which has 2 unique
indexes on two different columns. 

I was wondering if there is a way in case of UNIQUE_VIOLATION exception to
find out which index would have been violated?

Petri Simolin

FAQ