ExecModifyTable: use context.planSlot instead of planSlot

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 3dcc6bf4068a29be2bebee80bb919f8057af0fd9
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2022-04-20T08:34:58Z
Releases: 15.0
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

Files

PathChange+/−
src/backend/executor/nodeModifyTable.c modified +10 −14

Discussion