pgsql: Minor cleanup of jsonb_util.c

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Minor cleanup of jsonb_util.c
Date: 2014-05-09 10:12:28
Message-ID: E1Wihn2-0004Ab-4x@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Minor cleanup of jsonb_util.c

Move the functions around to group related functions together. Remove
binequal argument from lengthCompareJsonbStringValue, moving that
responsibility to lengthCompareJsonbPair. Fix typo in comment.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ff7bbb0176a667aeb0577e4d48d651ffdb6afd50

Modified Files
--------------
src/backend/utils/adt/jsonb_util.c | 378 ++++++++++++++++++------------------
1 file changed, 187 insertions(+), 191 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-05-09 12:41:34 pgsql: Improve key representation for GIN jsonb_ops, and fix existence-
Previous Message Heikki Linnakangas 2014-05-09 09:49:12 pgsql: Avoid some pnstrdup()s when constructing jsonb