mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
Add COPY CSV test that tests CSV output of \.
This commit is contained in:
parent
9c72df4e86
commit
54e5caa440
2 changed files with 6 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -149,6 +149,7 @@ c\.d
|
|||
"\."
|
||||
\.
|
||||
|
||||
COPY testeoc TO stdout CSV;
|
||||
|
||||
DROP TABLE x, y;
|
||||
DROP FUNCTION fn_x_before();
|
||||
|
|
|
|||
Loading…
Reference in a new issue