Обсуждение: pgsql: Fix transformJsonBehavior

Поиск
Список
Период
Сортировка

pgsql: Fix transformJsonBehavior

От
Andrew Dunstan
Дата:
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(-)