Skip to content

Commit 54e5caa

Browse files
committed
Add COPY CSV test that tests CSV output of \.
1 parent 9c72df4 commit 54e5caa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/test/regress/expected/copy2.out

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@ COPY testnl FROM stdin CSV;
197197
-- test end of copy marker
198198
CREATE TEMP TABLE testeoc (a text);
199199
COPY testeoc FROM stdin CSV;
200+
COPY testeoc TO stdout CSV;
201+
a\.
202+
\.b
203+
c\.d
204+
"\."
200205
DROP TABLE x, y;
201206
DROP FUNCTION fn_x_before();
202207
DROP FUNCTION fn_x_after();

src/test/regress/sql/copy2.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ c\.d
149149
"\."
150150
\.
151151

152+
COPY testeoc TO stdout CSV;
152153

153154
DROP TABLE x, y;
154155
DROP FUNCTION fn_x_before();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy