Re: getting details about integrity constraint violation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: getting details about integrity constraint violation
Дата
Msg-id 14879.1117729929@sss.pgh.pa.us
обсуждение исходный текст
Ответ на getting details about integrity constraint violation  (Markus Bertheau <twanger@bluetwanger.de>)
Ответы Re: getting details about integrity constraint violation
Список pgsql-sql
Markus Bertheau <twanger@bluetwanger.de> writes:
> how would I find out details about for example what constraint was
> violated by an insert statement?

You can't, at the moment, except by parsing the text message.

The "error fields" facility in the FE/BE protocol could be extended
in that direction, and I think there's already been some discussion
about it; but no one has stepped up with a concrete proposal, much
less volunteered to do the work ...
        regards, tom lane


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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: [GENERAL] index row size 2728 exceeds btree maximum, 27
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: index row size 2728 exceeds btree maximum, 27