OSDN Git Service

Change to report COPY line number in error messages affects
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Feb 2000 19:45:31 +0000 (19:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Feb 2000 19:45:31 +0000 (19:45 +0000)
results of constraints regress test.

src/test/regress/output/constraints.source

index 3b9bc2c..dad7d46 100644 (file)
@@ -274,7 +274,7 @@ SELECT '' AS two, * FROM COPY_TBL;
 (2 rows)
 
 COPY COPY_TBL FROM '_OBJWD_/data/constrf.data';
-ERROR:  CopyFrom: rejected due to CHECK constraint copy_con
+ERROR:  copy: line 2, CopyFrom: rejected due to CHECK constraint copy_con
 SELECT * FROM COPY_TBL;
  x |       y       | z 
 ---+---------------+---