We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent828b64f commitc3f49c8Copy full SHA for c3f49c8
contrib/pg_pathman/src/copy_stmt_hooking.c
@@ -341,7 +341,7 @@ PathmanDoCopy(const CopyStmt *stmt, const char *queryString, uint64 *processed)
341
PreventCommandIfReadOnly("PATHMAN COPY FROM");
342
PreventCommandIfParallelMode("PATHMAN COPY FROM");
343
344
-cstate=BeginCopyFrom(rel,stmt->filename,stmt->is_program,
+cstate=BeginCopyFrom(NULL,rel,stmt->filename,stmt->is_program,
345
stmt->attlist,stmt->options);
346
*processed=PathmanCopyFrom(cstate,rel,range_table,is_old_protocol);
347
EndCopyFrom(cstate);
@@ -360,7 +360,7 @@ PathmanDoCopy(const CopyStmt *stmt, const char *queryString, uint64 *processed)
360
modified_copy_stmt.query=query;
361
362
/* Call standard DoCopy using a new CopyStmt */
363
-DoCopy(&modified_copy_stmt,queryString,processed);
+DoCopy(NULL,&modified_copy_stmt,processed);
364
}
365
366
/*