OSDN Git Service

Add COPY CSV test that tests CSV output of \.
authorBruce Momjian <bruce@momjian.us>
Wed, 28 Dec 2005 15:07:02 +0000 (15:07 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 28 Dec 2005 15:07:02 +0000 (15:07 +0000)
src/test/regress/expected/copy2.out
src/test/regress/sql/copy2.sql

index 524e88c..99fba57 100644 (file)
@@ -197,6 +197,11 @@ COPY testnl FROM stdin CSV;
 -- test end of copy marker
 CREATE TEMP TABLE testeoc (a text);
 COPY testeoc FROM stdin CSV;
+COPY testeoc TO stdout CSV;
+a\.
+\.b
+c\.d
+"\."
 DROP TABLE x, y;
 DROP FUNCTION fn_x_before();
 DROP FUNCTION fn_x_after();
index d962d2e..5d73256 100644 (file)
@@ -149,6 +149,7 @@ c\.d
 "\."
 \.
 
+COPY testeoc TO stdout CSV;
 
 DROP TABLE x, y;
 DROP FUNCTION fn_x_before();