File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed
Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1878,7 +1878,10 @@ CopyToDispatchDirectoryTable(CopyToState cstate)
18781878
18791879 pfree (cdbCopy );
18801880
1881- return 1 ;
1881+ if (processed )
1882+ return 1 ;
1883+ else
1884+ return 0 ;
18821885}
18831886
18841887/*
Original file line number Diff line number Diff line change @@ -388,6 +388,8 @@ COPY BINARY dir_table2 TO '@abs_srcdir@/data/dir_table2'; -- fail
388388COPY BINARY dir_table1 TO '@abs_srcdir@/data/dir_table1'; -- fail
389389\COPY BINARY DIRECTORY TABLE dir_table1 'nation1' TO '@abs_srcdir@/data/nation1'; -- OK
390390COPY BINARY DIRECTORY TABLE dir_table1 'nation1' TO '@abs_srcdir@/data/nation1'; -- OK
391+ \COPY BINARY DIRECTORY TABLE dir_table1 'unknown' TO '@abs_srcdir@/data/unknown'; -- OK
392+ COPY BINARY DIRECTORY TABLE dir_table1 'unknown' TO '@abs_srcdir@/data/unknown'; -- OK
391393\COPY BINARY DIRECTORY TABLE dir_table1 'nation2' TO stdin; -- OK
392394COPY BINARY DIRECTORY TABLE dir_table1 'nation2' TO stdin; -- OK
393395\COPY BINARY DIRECTORY TABLE dir_table1 'nation2' TO stdout; -- OK
Original file line number Diff line number Diff line change @@ -1044,6 +1044,8 @@ COPY BINARY dir_table1 TO '@abs_srcdir@/data/dir_table1'; -- fail
10441044ERROR: COPY to directory table must specify the relative_path name.
10451045\COPY BINARY DIRECTORY TABLE dir_table1 'nation1' TO '@abs_srcdir@/data/nation1'; -- OK
10461046COPY BINARY DIRECTORY TABLE dir_table1 'nation1' TO '@abs_srcdir@/data/nation1'; -- OK
1047+ \COPY BINARY DIRECTORY TABLE dir_table1 'unknown' TO '@abs_srcdir@/data/unknown'; -- OK
1048+ COPY BINARY DIRECTORY TABLE dir_table1 'unknown' TO '@abs_srcdir@/data/unknown'; -- OK
10471049\COPY BINARY DIRECTORY TABLE dir_table1 'nation2' TO stdin; -- OK
104810500|ALGERIA|0| haggle. carefully final deposits detect slyly agai
104910511|ARGENTINA|1|al foxes promise slyly according to the regular accounts. bold requests alon
Original file line number Diff line number Diff line change @@ -1044,6 +1044,8 @@ COPY BINARY dir_table1 TO '@abs_srcdir@/data/dir_table1'; -- fail
10441044ERROR: COPY to directory table must specify the relative_path name.
10451045\COPY BINARY DIRECTORY TABLE dir_table1 'nation1' TO '@abs_srcdir@/data/nation1'; -- OK
10461046COPY BINARY DIRECTORY TABLE dir_table1 'nation1' TO '@abs_srcdir@/data/nation1'; -- OK
1047+ \COPY BINARY DIRECTORY TABLE dir_table1 'unknown' TO '@abs_srcdir@/data/unknown'; -- OK
1048+ COPY BINARY DIRECTORY TABLE dir_table1 'unknown' TO '@abs_srcdir@/data/unknown'; -- OK
10471049\COPY BINARY DIRECTORY TABLE dir_table1 'nation2' TO stdin; -- OK
104810500|ALGERIA|0| haggle. carefully final deposits detect slyly agai
104910511|ARGENTINA|1|al foxes promise slyly according to the regular accounts. bold requests alon
You can’t perform that action at this time.
0 commit comments