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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Clean up a bug in sql/json items commit 66ea94e8e6
Date: 2024-01-25 21:25:59
Message-ID: E1rT7EV-00368f-35@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-01-25 22:47:14 pgsql: Support TZ and OF format codes in to_timestamp().
Previous Message Tom Lane 2024-01-25 16:32:32 pgsql: Doc: improve documentation for jsonpath behavior.