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

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Peter Geoghegan <pg(at)heroku(dot)com>, xtracoder(at)gmail(dot)com, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13936: jsonb_object() -> ERROR: unknown type of jsonb container
Date: 2016-02-10 00:07:57
Message-ID: CAB7nPqTr6eZjicLnkFi9mNgQquSSEM_G5tkubUCCqqD9aZLiqA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Feb 9, 2016 at 11:37 PM, Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2016-02-10 01:47:19 Re: Re: BUG #13685: Archiving while idle every archive_timeout with wal_level hot_standby
Previous Message Xtra Coder 2016-02-09 18:45:03 Re: BUG #13937: 'src' -> jsonb_each() -> jsonb_object() -> 'dst' does not recreate 'src' as valid jsonb