Skip to content
Snippets Groups Projects
Commit 54e5caa4 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Add COPY CSV test that tests CSV output of \.

parent 9c72df4e
Branches
Tags
No related merge requests found
...@@ -197,6 +197,11 @@ COPY testnl FROM stdin CSV; ...@@ -197,6 +197,11 @@ COPY testnl FROM stdin CSV;
-- test end of copy marker -- test end of copy marker
CREATE TEMP TABLE testeoc (a text); CREATE TEMP TABLE testeoc (a text);
COPY testeoc FROM stdin CSV; COPY testeoc FROM stdin CSV;
COPY testeoc TO stdout CSV;
a\.
\.b
c\.d
"\."
DROP TABLE x, y; DROP TABLE x, y;
DROP FUNCTION fn_x_before(); DROP FUNCTION fn_x_before();
DROP FUNCTION fn_x_after(); DROP FUNCTION fn_x_after();
...@@ -149,6 +149,7 @@ c\.d ...@@ -149,6 +149,7 @@ c\.d
"\." "\."
\. \.
COPY testeoc TO stdout CSV;
DROP TABLE x, y; DROP TABLE x, y;
DROP FUNCTION fn_x_before(); DROP FUNCTION fn_x_before();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment