Permalink
Browse files

Update for upstream API changes.

  • Loading branch information...
1 parent 626f49a commit 4e850a61e3432f59d3abb1cb27de4e473975d762 @adunstan committed Mar 10, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 file_textarray_fdw.c
View
@@ -517,6 +517,7 @@ fileBeginForeignScan(ForeignScanState *node, int eflags)
*/
cstate = BeginCopyFrom(node->ss.ss_currentRelation,
filename,
+ false,
NIL,
options);
@@ -638,6 +639,7 @@ fileReScanForeignScan(ForeignScanState *node)
festate->cstate = BeginCopyFrom(node->ss.ss_currentRelation,
festate->filename,
+ false,
NIL,
festate->options);
}
@@ -839,7 +841,7 @@ file_acquire_sample_rows(Relation onerel, int elevel,
/*
* Create CopyState from FDW options.
*/
- cstate = BeginCopyFrom(onerel, filename, NIL, options);
+ cstate = BeginCopyFrom(onerel, filename, false, NIL, options);
/*
* Use per-tuple memory context to prevent leak of memory used to read

0 comments on commit 4e850a6

Please sign in to comment.