SQL/JSON: Remove useless code in ExecInitJsonExpr()

Amit Langote <amitlan@postgresql.org>

Commit: 8a1a4087bd5fd09f42bcca2c91ff7eceaa2a0eab
Author: Amit Langote <amitlan@postgresql.org>
Date: 2024-07-26T07:37:59Z
Releases: 17.0
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

Files

PathChange+/−
src/backend/executor/execExpr.c modified +0 −15

Discussion