aboutsummaryrefslogtreecommitdiff
path: root/src/test/regress/output/copy.source
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/regress/output/copy.source')
-rw-r--r--src/test/regress/output/copy.source10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/regress/output/copy.source b/src/test/regress/output/copy.source
index 35ef9dce7ea..e6839d3f364 100644
--- a/src/test/regress/output/copy.source
+++ b/src/test/regress/output/copy.source
@@ -58,3 +58,13 @@ select * from copytest except select * from copytest2;
-------+------+--------
(0 rows)
+-- test header line feature
+create temp table copytest3 (
+ c1 int,
+ "col with , comma" text,
+ "col with "" quote" int);
+copy copytest3 from stdin csv header;
+copy copytest3 to stdout csv header;
+c1,"col with , comma","col with "" quote"
+1,a,1
+2,b,2