Re: Cast jsonb to numeric, int, float, bool

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Cast jsonb to numeric, int, float, bool
Дата
Msg-id CA+TgmoaYgUkbrpzYgBPhH31+9BioCRs3RF2Bcz8E-+zttcCB4A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Cast jsonb to numeric, int, float, bool  (ilmari@ilmari.org (Dagfinn Ilmari Mannsåker))
Ответы Re: Cast jsonb to numeric, int, float, bool  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
On Fri, Mar 30, 2018 at 11:21 AM, Dagfinn Ilmari Mannsåker
<ilmari@ilmari.org> wrote:
> How about "cannot cast jsonb $json_type to $sql_type" where $json_type
> is the type inside the jsonb (e.g. string, number, boolean, array,
> object)?

Yes, that sounds pretty good.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Having query cache in core
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Refreshing findoidjoins for v11