How to get details about referential integrity violations?

Поиск
Список
Период
Сортировка
От Johann Uhrmann
Тема How to get details about referential integrity violations?
Дата
Msg-id 4253C57B.2020905@xpecto.com
обсуждение исходный текст
Список pgsql-general
Hi,

is there a way to get the name of the two tables involved
in a referential integrity violation via jdbc?

Up to version 7.3 it was possible to get the names by
parsing the error message of the SQLException.

However, some information has moved to the DETAIL line.
Can this line be retrieved via jdbc or is there even an
API to get the table names?

Kind regards,

Hans


В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: very slow after a while...
Следующее
От: "Costin Manda"
Дата:
Сообщение: Re: very slow after a while...