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-22 00:03:11
Message-ID: CAB7nPqT5b3FJtkRNLtZiztKLHn=fvq3rxVw9OAPMOW1R0MH8Sw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Feb 22, 2016 at 12:46 AM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
> I have committed a fix for this, mainly using your patch. In the end I used
> the same pattern for handling the case that we use in the one-argument form
> of the function, i.e. we just drop through to the end, skipping over the
> part where we add object elements.

Thanks. I have hesitated with your solution, looks like I was on the
wrong side at the end :)
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message chiya2 2016-02-22 09:50:45 BUG #13976: how to declare an empty password on .pgpass file
Previous Message Nelson Romero 2016-02-21 18:32:02