pgsql: Fix transformJsonBehavior

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Fix transformJsonBehavior
Дата
Msg-id E1nezU8-000U34-LY@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix transformJsonBehavior

Commit 1a36bc9dba8 conained some logic that was a little opaque and
could have involved a NULL dereference, as complained about by Coverity.
Make the logic more transparent and in doing so avoid the NULL
dereference.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fcdb35c32ac70a113c134a66daf9ba28523ff32b

Modified Files
--------------
src/backend/parser/parse_expr.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: pageinspect: Fix handling of all-zero pages
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Improve a couple of sql/json error messages