pgsql: Fix a couple of trivial issues in jsonb.c
pgsql: Fix a couple of trivial issues in jsonb.c
От:
Alvaro Herrera <alvherre@alvh.no-ip.org>
Дата:
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(-)
Re: pgsql: Fix a couple of trivial issues in jsonb.c
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Alvaro Herrera 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