pgsql: Minor cleanup of jsonb_util.c - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Minor cleanup of jsonb_util.c
Date
Msg-id E1Wihn2-0004Ab-4x@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Avoid some pnstrdup()s when constructing jsonb
Next
From: Tom Lane
Date:
Subject: pgsql: Improve key representation for GIN jsonb_ops, and fix existence-