aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-12-28 15:07:13 +0000
committerBruce Momjian <bruce@momjian.us>2005-12-28 15:07:13 +0000
commit5fcf4a9c03b2c9f5ed2d41465b191a4600465fad (patch)
tree3e822e33111b13773619dc5f2043ad49e13ff85f
parentc54fee814f83ebd188c1627aa64450189ab0d985 (diff)
downloadpostgresql-5fcf4a9c03b2c9f5ed2d41465b191a4600465fad.tar.gz
postgresql-5fcf4a9c03b2c9f5ed2d41465b191a4600465fad.zip
Add COPY CSV test that tests CSV output of \.
-rw-r--r--src/test/regress/expected/copy2.out5
-rw-r--r--src/test/regress/sql/copy2.sql1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/test/regress/expected/copy2.out b/src/test/regress/expected/copy2.out
index 524e88cbae6..99fba57a9e0 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 d962d2e048e..5d73256c122 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();