Re: BUG #13936: jsonb_object() -> ERROR: unknown type of jsonb container - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #13936: jsonb_object() -> ERROR: unknown type of jsonb container
Date
Msg-id CAB7nPqTr6eZjicLnkFi9mNgQquSSEM_G5tkubUCCqqD9aZLiqA@mail.gmail.com
Whole thread Raw
In response to Re: BUG #13936: jsonb_object() -> ERROR: unknown type of jsonb container  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: BUG #13936: jsonb_object() -> ERROR: unknown type of jsonb container  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-bugs
On Tue, Feb 9, 2016 at 11:37 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
> On 02/09/2016 06:57 AM, Michael Paquier wrote:
>> The patch attached uses jsonb_from_cstring(), with new regression
>> tests, and it fixes the issue for me. That seems more simple, but the
>> other method would work as well, though I am not sure this is worth
>> the complication.
>
> Yeah, I don't think we need to optimize this case too much.

OK, good to know. Feel free to ping me if you need some extra hands,
though I don't think you will actually need them :)

> I'll get it done.

Thanks.
--
Michael

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #13938: CAST error on Index "function must be immutable"
Next
From: Xtra Coder
Date:
Subject: Re: BUG #13937: 'src' -> jsonb_each() -> jsonb_object() -> 'dst' does not recreate 'src' as valid jsonb