pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Langote <amitlan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: SQL/JSON: Remove useless code in ExecInitJsonExpr()
Date: Fri, 26 Jul 2024 07:43:43 +0000
Message-ID: <E1sXFc7-001GeD-3A@gemulon.postgresql.org> (raw)

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6f9a62b454e8d36f57d54efa141c464f69ce9206

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



view thread (2+ messages)

Message-ID: <E1sXFc7-001GeD-3A@gemulon.postgresql.org>
Permalink:  ../E1sXFc7-001GeD-3A@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sXFc7-001GeD-3A@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: amitlan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: SQL/JSON: Remove useless code in ExecInitJsonExpr()
  In-Reply-To: <E1sXFc7-001GeD-3A@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox