pgsql: SQL/JSON: Remove useless code in ExecInitJsonExpr() - Mailing list pgsql-committers

From Amit Langote
Subject pgsql: SQL/JSON: Remove useless code in ExecInitJsonExpr()
Date
Msg-id E1sXFbt-001GdC-Ds@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
SQL/JSON: Remove useless code in ExecInitJsonExpr()

The code was for adding an unconditional JUMP to the next step,
which is unnecessary processing.

Reported-by: Jian He <jian.universality@gmail.com>
Discussion: https://postgr.es/m/CACJufxEo4sUjKCYtda0_qt9tazqqKPmF1cqhW9KBOUeJFqQd2g@mail.gmail.com
Backpatch-through: 17

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8a1a4087bd5fd09f42bcca2c91ff7eceaa2a0eab

Modified Files
--------------
src/backend/executor/execExpr.c | 15 ---------------
1 file changed, 15 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: fix misleading syntax synopses for targetlists.
Next
From: Amit Langote
Date:
Subject: pgsql: SQL/JSON: Fix error-handling of some JsonBehavior expressions