Re: Casts from jsonb to other types should cope with json null

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Casts from jsonb to other types should cope with json null
Дата
Msg-id 376008.1737733733@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Casts from jsonb to other types should cope with json null  (Maxim Orlov <orlovmg@gmail.com>)
Ответы Re: Casts from jsonb to other types should cope with json null
Список pgsql-hackers
Maxim Orlov <orlovmg@gmail.com> writes:
> I tend to agree with you here about the semantics of such casts. But
> consistency and "predictability" of
> behaviour for the casts are a bit more important in my view. At least,
> based on my experience. So, I'm
> for 0002 patch.

OK.  Nobody has spoken against the 0001 patch (replace errors with
return-a-null), so I think I'll go ahead and commit that one.
Then I'll return to this thread with a fleshed-out patch for 0002.

            regards, tom lane



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