Re: jsonpath

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: jsonpath
Дата
Msg-id cc52ece4-ae83-02b8-1850-e1351664bc24@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: jsonpath  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-hackers
On 3/3/19 1:08 PM, Tomas Vondra wrote:
>
>
> jsonb_util.c
> ============
>
> I see we're now handling NaN values in convertJsonbScalar(). Isn't it
> actually a bug that we don't do this already? Or is it not needed for
> some reason?
>

JSON standard numerics don't support NaN, Infinity etc., so I assume
this can only happen in a jsonpath expression being converted to a jsonb
value. If so, the new section  should contain a comment to that effect,
otherwise it will be quite confusing.


cheers


andrew


-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: [HACKERS] Block level parallel vacuum
Следующее
От: Amit Langote
Дата:
Сообщение: Re: pg_partition_tree crashes for a non-defined relation