mirror of
https://github.com/postgres/postgres.git
synced 2025-06-05 23:56:58 +03:00
Add COPY CSV test that tests CSV output of \.
This commit is contained in:
parent
c54fee814f
commit
5fcf4a9c03
@ -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
|
|||||||
"\."
|
"\."
|
||||||
\.
|
\.
|
||||||
|
|
||||||
|
COPY testeoc TO stdout CSV;
|
||||||
|
|
||||||
DROP TABLE x, y;
|
DROP TABLE x, y;
|
||||||
DROP FUNCTION fn_x_before();
|
DROP FUNCTION fn_x_before();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user