Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite61a82c

Browse files
committed
Adjust file_fdw regression tests foracc95f2 FREEZE commit
Reported-by: Tom LaneDiscussion:https://postgr.es/m/2161529.1699899452@sss.pgh.pa.usBackpatch-through: master
1 parent151a0ee commite61a82c

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: COPYquote available only in CSV mode
54+
ERROR: COPYQUOTE requires CSV mode
5555
CREATE FOREIGN TABLE tbl () SERVER file_server OPTIONS (format 'text', escape ':'); -- ERROR
56-
ERROR: COPYescape available only in CSV mode
56+
ERROR: COPYESCAPE 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: COPYquote available only in CSV mode
60+
ERROR: COPYQUOTE requires CSV mode
6161
CREATE FOREIGN TABLE tbl () SERVER file_server OPTIONS (format 'binary', escape ':'); -- ERROR
62-
ERROR: COPYescape available only in CSV mode
62+
ERROR: COPYESCAPE 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: COPYescape available only in CSV mode
66+
ERROR: COPYESCAPE 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 delimitercharactermust 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: COPYforce not null available only in CSV mode
141+
ERROR: COPYFORCE_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)

[8]ページ先頭

©2009-2025 Movatter.jp