Re: Weird special case in jsonb_concat()
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Joel Jacobson" <joel@compiler.org>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2020-12-21T18:15:37Z
Lists: pgsql-hackers
"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
Commits
-
Remove "invalid concatenation of jsonb objects" error case.
- 38d30a14b05e 13.2 landed
- ff5d5611c01f 14.0 landed
- edcdbc44eed2 9.5.25 landed
- 542248f9ddfd 10.16 landed
- 1d5f3f976b26 9.6.21 landed
- 75c8ef5ae56c 11.11 landed
- 38bef9e433ef 12.6 landed