Skip to content

Commit e61a82c

Browse files
committed
Adjust file_fdw regression tests for acc95f2 FREEZE commit
Reported-by: Tom Lane Discussion: https://postgr.es/m/2161529.1699899452@sss.pgh.pa.us Backpatch-through: master
1 parent 151a0ee commit e61a82c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

contrib/file_fdw/expected/file_fdw.out

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,23 +51,23 @@ CREATE USER MAPPING FOR regress_no_priv_user SERVER file_server;
5151
CREATE FOREIGN TABLE tbl () SERVER file_server OPTIONS (format 'xml'); -- ERROR
5252
ERROR: COPY format "xml" not recognized
5353
CREATE FOREIGN TABLE tbl () SERVER file_server OPTIONS (format 'text', quote ':'); -- ERROR
54-
ERROR: COPY quote available only in CSV mode
54+
ERROR: COPY QUOTE requires CSV mode
5555
CREATE FOREIGN TABLE tbl () SERVER file_server OPTIONS (format 'text', escape ':'); -- ERROR
56-
ERROR: COPY escape available only in CSV mode
56+
ERROR: COPY ESCAPE requires CSV mode
5757
CREATE FOREIGN TABLE tbl () SERVER file_server OPTIONS (format 'binary', header 'true'); -- ERROR
5858
ERROR: cannot specify HEADER in BINARY mode
5959
CREATE FOREIGN TABLE tbl () SERVER file_server OPTIONS (format 'binary', quote ':'); -- ERROR
60-
ERROR: COPY quote available only in CSV mode
60+
ERROR: COPY QUOTE requires CSV mode
6161
CREATE FOREIGN TABLE tbl () SERVER file_server OPTIONS (format 'binary', escape ':'); -- ERROR
62-
ERROR: COPY escape available only in CSV mode
62+
ERROR: COPY ESCAPE requires CSV mode
6363
CREATE FOREIGN TABLE tbl () SERVER file_server OPTIONS (format 'text', delimiter 'a'); -- ERROR
6464
ERROR: COPY delimiter cannot be "a"
6565
CREATE FOREIGN TABLE tbl () SERVER file_server OPTIONS (format 'text', escape '-'); -- ERROR
66-
ERROR: COPY escape available only in CSV mode
66+
ERROR: COPY ESCAPE requires CSV mode
6767
CREATE FOREIGN TABLE tbl () SERVER file_server OPTIONS (format 'csv', quote '-', null '=-='); -- ERROR
6868
ERROR: CSV quote character must not appear in the NULL specification
6969
CREATE FOREIGN TABLE tbl () SERVER file_server OPTIONS (format 'csv', delimiter '-', null '=-='); -- ERROR
70-
ERROR: COPY delimiter must not appear in the NULL specification
70+
ERROR: COPY delimiter character must not appear in the NULL specification
7171
CREATE FOREIGN TABLE tbl () SERVER file_server OPTIONS (format 'csv', delimiter '-', quote '-'); -- ERROR
7272
ERROR: COPY delimiter and quote must be different
7373
CREATE FOREIGN TABLE tbl () SERVER file_server OPTIONS (format 'csv', delimiter '---'); -- ERROR
@@ -138,7 +138,7 @@ CREATE FOREIGN TABLE text_csv (
138138
) SERVER file_server
139139
OPTIONS (format 'text', filename :'filename', null 'NULL');
140140
SELECT * FROM text_csv; -- ERROR
141-
ERROR: COPY force not null available only in CSV mode
141+
ERROR: COPY FORCE_NOT_NULL requires CSV mode
142142
ALTER FOREIGN TABLE text_csv OPTIONS (SET format 'csv');
143143
\pset null _null_
144144
SELECT * FROM text_csv;

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