diff options
Diffstat (limited to 'src/include/commands/copyfrom_internal.h')
-rw-r--r-- | src/include/commands/copyfrom_internal.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/include/commands/copyfrom_internal.h b/src/include/commands/copyfrom_internal.h index e37c6032ae6..8d9cc5accdb 100644 --- a/src/include/commands/copyfrom_internal.h +++ b/src/include/commands/copyfrom_internal.h @@ -40,13 +40,16 @@ typedef enum EolType } EolType; /* - * Represents the heap insert method to be used during COPY FROM. + * Represents the insert method to be used during COPY FROM. */ typedef enum CopyInsertMethod { - CIM_SINGLE, /* use table_tuple_insert or fdw routine */ - CIM_MULTI, /* always use table_multi_insert */ - CIM_MULTI_CONDITIONAL /* use table_multi_insert only if valid */ + CIM_SINGLE, /* use table_tuple_insert or + * ExecForeignInsert */ + CIM_MULTI, /* always use table_multi_insert or + * ExecForeignBatchInsert */ + CIM_MULTI_CONDITIONAL /* use table_multi_insert or + * ExecForeignBatchInsert only if valid */ } CopyInsertMethod; /* @@ -81,6 +84,7 @@ typedef struct CopyFromStateData uint64 cur_lineno; /* line number for error messages */ const char *cur_attname; /* current att for error messages */ const char *cur_attval; /* current att value for error messages */ + bool relname_only; /* don't output line number, att, etc. */ /* * Working state |