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

index 524e88cbae67bba87e55912e129f68a24820d9d2..99fba57a9e08bfd6717cf6edbd482c968223d8b2 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 d962d2e048e9eb442ae968044c611e77b9a63c76..5d73256c1225cf69e65356217a02516cc7ab0710 100644 (file)
@@ -149,6 +149,7 @@ c\.d
 "\."
 \.
 
+COPY testeoc TO stdout CSV;
 
 DROP TABLE x, y;
 DROP FUNCTION fn_x_before();