Re: Old protocol fastpath calls borked?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Old protocol fastpath calls borked?
Дата
Msg-id 4191.1548368336@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Old protocol fastpath calls borked?  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> Ah, brainfade.  Probably triggered by the fact that I forgot that we call
> input functions even on NULL (which never quite made sense to me).

That's so that domain_in can reject NULLs if the domain constraints
say to do so.

Mind you, the SQL committee should never have allowed NOT NULL
domain constraints in the first place, because the concept is
fundamentally incompatible with outer joins.  But it's there
and we try to honor it in this case.

            regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Old protocol fastpath calls borked?
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: [PATCH] Fix Proposal - Deadlock Issue in Single User Mode When IOFailure Occurs