Clean up and simplify jsonb_concat code.
Some of this is made possible by commit
9b74f32cdbff8b9be47fc69164eae552050509ff which lets pushJsonbValue
handle binary Jsonb values, meaning that clients no longer have to, and
some is just doing things in simpler and more straightforward ways.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/6739aa298b5e3260481a2d5723a75b057d6119c6
Modified Files
--------------
src/backend/utils/adt/jsonfuncs.c | 124 ++++++++-----------------------------
1 file changed, 27 insertions(+), 97 deletions(-)