mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03:00
Remove unnecessary members from ModifyTableState and ExecInsert
These values can be obtained from the ModifyTable node which is already a part of both the ModifyTableState and ExecInsert. Author: Álvaro Herrera, Amit Langote Reviewed-by: Peter Geoghegan Discussion: https://postgr.es/m/20180316151303.rml2p5wffn3o6qy6@alvherre.pgsql
This commit is contained in:
@ -363,8 +363,8 @@ ExecInitPartitionInfo(ModifyTableState *mtstate,
|
||||
if (partrel->rd_rel->relhasindex &&
|
||||
leaf_part_rri->ri_IndexRelationDescs == NULL)
|
||||
ExecOpenIndices(leaf_part_rri,
|
||||
(mtstate != NULL &&
|
||||
mtstate->mt_onconflict != ONCONFLICT_NONE));
|
||||
(node != NULL &&
|
||||
node->onConflictAction != ONCONFLICT_NONE));
|
||||
|
||||
/*
|
||||
* Build WITH CHECK OPTION constraints for the partition. Note that we
|
||||
|
Reference in New Issue
Block a user