Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 553b5da

Browse files
committed
Change to report COPY line number in error messages affects
results of constraints regress test.
1 parent 30f16e7 commit 553b5da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/regress/output/constraints.source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ SELECT '' AS two, * FROM COPY_TBL;
274274
(2 rows)
275275

276276
COPY COPY_TBL FROM '_OBJWD_/data/constrf.data';
277-
ERROR: CopyFrom: rejected due to CHECK constraint copy_con
277+
ERROR: copy: line 2, CopyFrom: rejected due to CHECK constraint copy_con
278278
SELECT * FROM COPY_TBL;
279279
x | y | z
280280
---+---------------+---

0 commit comments

Comments
 (0)