ExecModifyTable: use context.planSlot instead of planSlot
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 20 Apr 2022 08:34:58 +0000 (10:34 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 20 Apr 2022 08:34:58 +0000 (10:34 +0200)
commit3dcc6bf4068a29be2bebee80bb919f8057af0fd9
tree8e9806016a22f8897042699121f1170aff821350
parent74547b9c23f9f7ecfc6511e055982b8d5f51ae88
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@paquier.xyz>
Discussion: https://postgr.es/m/202204191345.qerjy3kxi3eb@alvherre.pgsql
src/backend/executor/nodeModifyTable.c