Re: [HACKERS] quote_literal with NULL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] quote_literal with NULL
Дата
Msg-id 14280.1192458501@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] quote_literal with NULL  ("Brendan Jurd" <direvus@gmail.com>)
Список pgsql-patches
"Brendan Jurd" <direvus@gmail.com> writes:
> I'm all for the prevalance of sanity, but I'm not really clear on what
> about the above scenario is not sane.

Well, a situation like that just calls into question whether there's
been a mistake --- in particular whether the underlying function is
really null-safe or not.

We could remove the opr_sanity test, but to me that'd be akin to
disabling a compiler warning.  Our project policy has generally been
to write warning-free code, instead.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Updated patch for tsearch contrib examples
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Assertion failure with small block sizes