Re: How can I get a restrict_violation?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How can I get a restrict_violation?
Дата
Msg-id 10137.1295623771@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How can I get a restrict_violation?  (A B <gentosaker@gmail.com>)
Список pgsql-novice
A B <gentosaker@gmail.com> writes:
> While looking through the error codes in Appendix 1 in the doc, I
> found restrict_violation.

> What is that and how do I get it?

RESTRICT_VIOLATION is one of the SQLSTATE codes specified in the SQL
standard, but so far as a quick grep finds, it's not actually thrown
anywhere in Postgres at the moment.  So the answer is "you can't".

            regards, tom lane

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

Предыдущее
От: A B
Дата:
Сообщение: How can I get a restrict_violation?
Следующее
От: Mike Thomsen
Дата:
Сообщение: "Database does not exist"... but it does exist