aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-12-28 15:07:02 +0000
committerBruce Momjian <bruce@momjian.us>2005-12-28 15:07:02 +0000
commit54e5caa440ebc9caa7b9bcaa48a6d84a7b1cb297 (patch)
treeec5677ff7bbd047098da2569e431e5e607917e33 /src
parent9c72df4e863115ea2dfb9544dc7ee1c5747a70a7 (diff)
downloadpostgresql-54e5caa440ebc9caa7b9bcaa48a6d84a7b1cb297.tar.gz
postgresql-54e5caa440ebc9caa7b9bcaa48a6d84a7b1cb297.zip
Add COPY CSV test that tests CSV output of \.
Diffstat (limited to 'src')
-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();