pgsql: Clean up a bug in sql/json items commit 66ea94e8e6 - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Clean up a bug in sql/json items commit 66ea94e8e6
Date
Msg-id E1rT7EV-00368f-35@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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: https://postgr.es/m/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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: improve documentation for jsonpath behavior.
Next
From: Tom Lane
Date:
Subject: pgsql: Support TZ and OF format codes in to_timestamp().