Re: Strange ADD CHECK error message

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Strange ADD CHECK error message
Дата
Msg-id 20011114233518.V3740-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Strange ADD CHECK error message  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
On Thu, 15 Nov 2001, Christopher Kings-Lynne wrote:

> I have noticed a strange error message when adding check constraints.
> Basically the ADD CHECK below is failing because the field it is trying to
> force to be NOT NULL already has NULL values in it.  However, the error
> message it produces is quite cryptic and it took me a while to figure out
> what was going on.
>
> Is it still like this in 7.2b2, and should it be changed?

Pretty sure and possibly.  In general, the message is currently
based on the same template as the error you get if you were to
fail it later.  I don't have a good phrase to replace it with,
but a more descriptive message would probably be good.




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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Strange ADD CHECK error message
Следующее
От: Alessio Bragadini
Дата:
Сообщение: Problem compiling beta2 on Digital Unix (cc)