Re: May be a jsonb type bug

Поиск
Список
Период
Сортировка
От Sergei Kornilov
Тема Re: May be a jsonb type bug
Дата
Msg-id 129801513947874@web13g.yandex.ru
обсуждение исходный текст
Ответ на May be a jsonb type bug  (yunlong.gao <yunlong.gao@qunar.com>)
Ответы Re: May be a jsonb type bug  (yunlong.gao <yunlong.gao@qunar.com>)
Список pgsql-bugs
Hi
'null' - is valid JSON document, but not array or object. It is just JSON-null in JSON. (not NULL in terms RDBMS)
Same as '"test"' - is valid JSON-encoded string 'test', '10' - valid JSON int scalar.

jsonb_array_length accept only JSON array documents: '[1,2,3]', '[null, null]', '[]', '[{"n":1}]' and so on and not
acceptscalars and objects
 

Regards, Sergej


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

Предыдущее
От: yunlong.gao
Дата:
Сообщение: May be a jsonb type bug
Следующее
От: "Robertson, Alan L"
Дата:
Сообщение: ALTER SYSTEM for tcp_keepalives_idle doesn't show up with the SHOWcommand.