Re: getting details about integrity constraint violation

Поиск
Список
Период
Сортировка
От Markus Bertheau ☭
Тема Re: getting details about integrity constraint violation
Дата
Msg-id 1117789228.9816.2.camel@dicaprio.akademie1.de
обсуждение исходный текст
Ответ на Re: getting details about integrity constraint violation  (KÖPFERL Robert <robert.koepferl@sonorys.at>)
Список pgsql-sql
В Птн, 03/06/2005 в 10:00 +0200, KÖPFERL Robert пишет:
> |
> |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
> 
> 
> So there must be at least a bunnch of error codes (which could be printed in
> addition)?

There are, but they only say something along the lines of "unique
constraint violated", they don't say which one.

Markus

-- 
Markus Bertheau ☭ <twanger@bluetwanger.de>



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

Предыдущее
От: KÖPFERL Robert
Дата:
Сообщение: Re: getting details about integrity constraint violation
Следующее
От: Markus Bertheau ☭
Дата:
Сообщение: 'true'::TEXT::BOOLEAN