Re: pgsql: Add json_array_elements_text function. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Add json_array_elements_text function.
Date
Msg-id 16753.1391038759@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: Add json_array_elements_text function.  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-committers
Andrew Dunstan <andrew@dunslane.net> writes:
> Add json_array_elements_text function.

Not 100% sure if this is from this commit or some earlier one, but in any
case please fix it:

jsonfuncs.c: In function 'populate_record_worker':
jsonfuncs.c:1286: warning: 'tupType' may be used uninitialized in this function
jsonfuncs.c:1287: warning: 'tupTypmod' may be used uninitialized in this function

Seeing this with gcc version 4.4.7 20120313 (Red Hat 4.4.7-4), the current
standard compiler on RHEL6.

            regards, tom lane


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Forgot to bump catalog version for json_array_elements_text.
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Silence compiler warnings about possibly unset variables.