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 CAB7nPqT5b3FJtkRNLtZiztKLHn=fvq3rxVw9OAPMOW1R0MH8Sw@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>)
List pgsql-bugs
On Mon, Feb 22, 2016 at 12:46 AM, Andrew Dunstan <andrew@dunslane.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

pgsql-bugs by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: BUG #13936: jsonb_object() -> ERROR: unknown type of jsonb container
Next
From: eshkinkot@gmail.com
Date:
Subject: BUG #13977: Strange behavior with WAL archive recovery