SQL/JSON: Remove useless code in ExecInitJsonExpr()
authorAmit Langote <amitlan@postgresql.org>
Fri, 26 Jul 2024 07:37:59 +0000 (16:37 +0900)
committerAmit Langote <amitlan@postgresql.org>
Fri, 26 Jul 2024 07:37:59 +0000 (16:37 +0900)
commit8a1a4087bd5fd09f42bcca2c91ff7eceaa2a0eab
tree09c88027460b7cf4e476b8840c29a37074129c77
parent3c3ccd4ca80136939abf97a7c19b67486dfda3af
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