pgsql: Fix a couple of trivial issues in jsonb.c

Started by Alvaro Herreraover 11 years ago2 messagescomitters
Jump to latest
#1Alvaro Herrera
alvherre@2ndquadrant.com

Fix a couple of trivial issues in jsonb.c

Typo "aggreagate" appeared three times, and the return value of function
JsonbIteratorNext() was being assigned to an int variable in a bunch of
places.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/654809e770ce270c0bb9de726c5df1ab193d60f0

Modified Files
--------------
src/backend/utils/adt/jsonb.c | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alvaro Herrera (#1)
Re: pgsql: Fix a couple of trivial issues in jsonb.c

Alvaro Herrera <alvherre@alvh.no-ip.org> writes:

Fix a couple of trivial issues in jsonb.c

This seems to have introduced its own trivial issue:

jsonb.c: In function 'JsonbToCString':
jsonb.c:427: warning: 'type' may be used uninitialized in this function

regards, tom lane

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers