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-12 02:39:46
Message-ID: CAB7nPqSTq9UrmS+9FWwK1j4X2cj6p7uO+52MsN4=-Oi1bbiQrw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Feb 10, 2016 at 9:07 AM, Michael Paquier
<michael(dot)paquier(at)gmail(dot)com> wrote:
> 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 :)

Entry in next CF to not get that lost is here:
https://commitfest.postgresql.org/9/515/
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2016-02-12 13:27:10 Re: Re: BUG #13685: Archiving while idle every archive_timeout with wal_level hot_standby
Previous Message Seth P 2016-02-11 23:41:56 Re: BUG #13908: Query returns too few rows