Re: pgsql: Additional functions and operators for jsonb

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: pgsql: Additional functions and operators for jsonb
Дата
в 20:45:42
Msg-id
5552666F.20409@dunslane.net
Ответ на
Список
Дерево обсуждения
pgsql: Additional functions and operators for jsonb Andrew Dunstan <andrew@dunslane.net>
Re: pgsql: Additional functions and operators for jsonb Tom Lane <tgl@sss.pgh.pa.us>
Re: pgsql: Additional functions and operators for jsonb Andrew Dunstan <andrew@dunslane.net>
Re: pgsql: Additional functions and operators for jsonb Pavel Stehule <pavel.stehule@gmail.com>
Re: pgsql: Additional functions and operators for jsonb Andrew Dunstan <andrew@dunslane.net>
Re: pgsql: Additional functions and operators for jsonb Andrew Dunstan <andrew@dunslane.net>
Re: pgsql: Additional functions and operators for jsonb Petr Jelinek <petr@2ndquadrant.com>
Re: pgsql: Additional functions and operators for jsonb Dmitry Dolgov <9erthalion6@gmail.com>
Re: pgsql: Additional functions and operators for jsonb Peter Geoghegan <pg@heroku.com>
Re: pgsql: Additional functions and operators for jsonb Andrew Dunstan <andrew@dunslane.net>

On 05/12/2015 04:11 PM, Pavel Stehule wrote:
> Hi
>
> I did some tests, and I am not sure if this is not bug:
>
> postgres=# select '{"x":20}'::jsonb - 'x'::text;
> ERROR:  unknown type of jsonb container --->>> it should be empty 
> jsonb, not error
> Time: 0.971 ms
> postgres=# select '{"x":20, "y":30}'::jsonb - 'x'::text;
> ┌───────────┐
> │ ?column?  │
> ╞═══════════╡
> │ {"y": 30} │
> └───────────┘
> (1 row)
>
>
> Regards
>
> Pavel
>

Yes. that's a bug.

will check.

cheers

andrew

В списке pgsql-committers по дате отправления
От: Andrew Dunstan
Дата:
От: Andrew Dunstan
Дата:
FAQ