From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joel Jacobson <joel@compiler.org>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Weird special case in jsonb_concat()
Date: Mon, 21 Dec 2020 13:15:37 -0500
Message-ID: <543166.1608574537@sss.pgh.pa.us> (raw)
In-Reply-To: <0b1c7b60-85ce-438d-b196-0f48b637e0ef@www.fastmail.com>
References: <163099.1608312033@sss.pgh.pa.us>
<333852.1608410128@sss.pgh.pa.us>
<0b1c7b60-85ce-438d-b196-0f48b637e0ef@www.fastmail.com>
"Joel Jacobson" <joel@compiler.org> writes:
> On Sat, Dec 19, 2020, at 21:35, Tom Lane wrote:
>> Here is a proposed patch for that.
> In addition, to the user wondering how to append a json array-value "as is",
> I think it would be useful to provide an example on how to do this
> in the documentation.
Done in v13 and HEAD; the older table format doesn't really have room
for more examples.
> +1 back-patch, I think it's a bug.
I'm not quite sure it's a bug, but it does seem like fairly unhelpful
behavior to throw an error instead of doing something useful, so
back-patched.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, joel@compiler.org, pgsql-hackers@lists.postgresql.org
Subject: Re: Weird special case in jsonb_concat()
In-Reply-To: <543166.1608574537@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox