Re: BUG #5477: CREATE DOMAIN NOT NULL constraints not always enforced for INSERT with subquery

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: BUG #5477: CREATE DOMAIN NOT NULL constraints not always enforced for INSERT with subquery
Дата
Msg-id 4C00DBC10200002500031BE8@gw.wicourts.gov
обсуждение исходный текст
Ответы Re: BUG #5477: CREATE DOMAIN NOT NULL constraints not always enforced for INSERT with subquery
Список pgsql-bugs
Tom Lane  wrote:

< NOT NULL constraints at the domain level suck. Don't use 'em.

+1

As someone who uses domains very heavily, I can attest that the
semantics of that are very weak.  Whether a domain is nullable
depends almost entirely on the context of its use, which you can't
(and shouldn't try to) anticipate on its declaration.

-Kevin

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