Re: pgsql: Add json_array_elements_text function.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Add json_array_elements_text function.
Дата
Msg-id 16753.1391038759@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql: Add json_array_elements_text function.  (Andrew Dunstan <andrew@dunslane.net>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Forgot to bump catalog version for json_array_elements_text.
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Silence compiler warnings about possibly unset variables.