pgsql: Clean up and simplify jsonb_concat code.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Clean up and simplify jsonb_concat code.
Date: 2015-05-25 15:48:09
Message-ID: E1Ywubp-0000Y5-Qg@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2015-05-25 18:11:10 pgsql: Update README.tuplock
Previous Message Bruce Momjian 2015-05-25 12:08:47 pgsql: pgindent: fix typo