pgsql: Clean up a bug in sql/json items commit 66ea94e8e6

Started by Andrew Dunstanover 2 years ago1 messagescomitters
Jump to latest
#1Andrew Dunstan
andrew@dunslane.net

Clean up a bug in sql/json items commit 66ea94e8e6

Remove a buggy and unnecessary test, along with an unnecessary pstrdup()
and a line of dead code.

Per report, diagnosis and fix from Tom Lane

Discussion: /messages/by-id/439811.1706211069@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/06a66d87dbc7e06581af6765131ea250063fb4ac

Modified Files
--------------
src/backend/utils/adt/jsonpath_exec.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)