pgsql: ExecModifyTable: use context.planSlot instead of planSlot

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: ExecModifyTable: use context.planSlot instead of planSlot
Date: 2022-04-20 08:35:44
Message-ID: E1nh5oO-000Eux-5n@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

ExecModifyTable: use context.planSlot instead of planSlot

There's no reason to keep a separate local variable when we have a place
for it elsewhere. This allows to simplify some code.

Reviewed-by: Michaël Paquier <michael(at)paquier(dot)xyz>
Discussion: https://postgr.es/m/202204191345.qerjy3kxi3eb@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3dcc6bf4068a29be2bebee80bb919f8057af0fd9

Modified Files
--------------
src/backend/executor/nodeModifyTable.c | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2022-04-20 09:26:57 pgsql: Move ModifyTableContext->lockmode to UpdateContext
Previous Message Amit Kapila 2022-04-20 03:36:15 pgsql: Stabilize streaming tests in test_decoding.