SQL/JSON: Remove useless code in ExecInitJsonExpr()
authorAmit Langote <amitlan@postgresql.org>
Fri, 26 Jul 2024 07:38:46 +0000 (16:38 +0900)
committerAmit Langote <amitlan@postgresql.org>
Fri, 26 Jul 2024 07:38:46 +0000 (16:38 +0900)
commit6f9a62b454e8d36f57d54efa141c464f69ce9206
tree3332791012b1c31eec9edee26203f1ba4fc50f36
parent4fc6a555606de003690d46e900339e78214ee363
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
src/backend/executor/execExpr.c