From: Bruce Momjian Date: Wed, 28 Dec 2005 15:07:13 +0000 (+0000) Subject: Add COPY CSV test that tests CSV output of \. X-Git-Tag: REL8_1_2~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fcf4a9c03b2c9f5ed2d41465b191a4600465fad;p=postgresql Add COPY CSV test that tests CSV output of \. --- diff --git a/src/test/regress/expected/copy2.out b/src/test/regress/expected/copy2.out index 524e88cbae..99fba57a9e 100644 --- a/src/test/regress/expected/copy2.out +++ b/src/test/regress/expected/copy2.out @@ -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(); diff --git a/src/test/regress/sql/copy2.sql b/src/test/regress/sql/copy2.sql index d962d2e048..5d73256c12 100644 --- a/src/test/regress/sql/copy2.sql +++ b/src/test/regress/sql/copy2.sql @@ -149,6 +149,7 @@ c\.d "\." \. +COPY testeoc TO stdout CSV; DROP TABLE x, y; DROP FUNCTION fn_x_before();