mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Add COPY CSV test that tests CSV output of \.
This commit is contained in:
parent
9c72df4e86
commit
54e5caa440
@ -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 New Issue
Block a user