Re: May be a jsonb type bug

Поиск
Список
Период
Сортировка
От yunlong.gao
Тема Re: May be a jsonb type bug
Дата
Msg-id e7c6da01-0b39-9030-2ae6-7e7cf053d5bb@qunar.com
обсуждение исходный текст
Ответ на Re: May be a jsonb type bug  (Sergei Kornilov <sk@zsrv.org>)
Список pgsql-bugs

Thank you very much

在 2017年12月22日 21:04, Sergei Kornilov 写道:
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 accept scalars and objects

Regards, Sergej

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: ALTER SYSTEM for tcp_keepalives_idle doesn't show up with theSHOW command.
Следующее
От: Ashutosh Sharma
Дата:
Сообщение: Re: 10.1: hash index size exploding on vacuum full analyze