Re: Why we allow CHECK constraint contradiction?

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Why we allow CHECK constraint contradiction?
Дата
Msg-id CAKFQuwbV-c2qNH1wXD-cDp5gugJw3ickZ7XZbkqxTtTzRY-=FA@mail.gmail.com
обсуждение исходный текст
Ответ на Why we allow CHECK constraint contradiction?  ("Imai, Yoshikazu" <imai.yoshikazu@jp.fujitsu.com>)
Ответы Re: Why we allow CHECK constraint contradiction?
Список pgsql-hackers
On Tuesday, October 9, 2018, Imai, Yoshikazu <imai.yoshikazu@jp.fujitsu.com> wrote:
Are there any rows which can satisfy the ct's CHECK constraint? If not, why we
allow creating table when check constraint itself is contradicted?

I'd bet on it being a combination of complexity and insufficient expected benefit.  Time is better spent elsewhere.  Mathmatically proving a contradiction in software is harder than reasoning about it mentally.

David J.

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

Предыдущее
От: "Imai, Yoshikazu"
Дата:
Сообщение: Why we allow CHECK constraint contradiction?
Следующее
От: Corey Huinker
Дата:
Сообщение: Re: Why we allow CHECK constraint contradiction?