>> 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.
Does anybody have an objections to patch?
--
Teodor Sigaev E-mail: teodor@sigaev.ru
WWW: http://www.sigaev.ru/