Re: [NOVICE] jsonb and null

Поиск
Список
Период
Сортировка
От Alexey Luchko
Тема Re: [NOVICE] jsonb and null
Дата
Msg-id CAF56u8pBS1XNRmbnGE5Oiqz_hb9aY38ykvCPd3Xpt3JfRwycrQ@mail.gmail.com
обсуждение исходный текст
Ответ на [NOVICE] jsonb and null  (Alexey Luchko <soulne4ny@gmail.com>)
Список pgsql-novice
> this
>
>     SELECT to_jsonb(ARRAY[NULL]::int[])#>'{0}' IS NULL;
>
> is false?

These are surprising as well

> SELECT 'null'::jsonb IS NULL;
 ?column?
----------
 f
(1 row)

> SELECT ('{}'::jsonb)#>'{"a"}' IS NULL;
 ?column?
----------
 t
(1 row)

--
Regards
Alex


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

Предыдущее
От: Alexey Luchko
Дата:
Сообщение: [NOVICE] jsonb and null
Следующее
От: Stephen Froehlich
Дата:
Сообщение: [NOVICE] Adding SSD to HDD-based System