Use a bitmask for ExecInsertIndexTuples options ... instead of passing a bunch of separate booleans.
Also, rearrange the argument list in a hopefully more sensible order. Discussion: https://postgr.es/m/[email protected] Reviewed-by: Andres Freund <[email protected]> Reviewed-by: Fabrízio de Royes Mello <[email protected]> (older version) Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b7271aa1d71acda712a372213633fdb55c1465c1 Modified Files -------------- src/backend/commands/copyfrom.c | 14 +++++--------- src/backend/executor/execIndexing.c | 35 +++++++++++++++++----------------- src/backend/executor/execReplication.c | 30 +++++++++++++++++++++-------- src/backend/executor/nodeModifyTable.c | 28 ++++++++++++++------------- src/include/executor/executor.h | 15 +++++++++------ 5 files changed, 68 insertions(+), 54 deletions(-)
