Re: pgsql: Add json_array_elements_text function.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Add json_array_elements_text function.
Date: 2014-01-29 23:39:19
Message-ID: 16753.1391038759@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2014-01-29 23:57:30 pgsql: Silence compiler warnings about possibly unset variables.
Previous Message Andrew Dunstan 2014-01-29 21:38:44 pgsql: Forgot to bump catalog version for json_array_elements_text.