postgres.git / summary / log / commit / refs
commit a4fec9ec34a43e23d9c7d3d6d6dfadd36392ff47
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat Nov 27 17:56:18 1999 +0000
First released in: 7.0
Oops, forgot to commit this one last week. Part of patch to update
regress test expected outputs for change in 'Cannot insert a duplicate key'
error message wording.
src/test/regress/output/constraints.source | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/test/regress/output/constraints.source b/src/test/regress/output/constraints.source
index d7bb59cbf81..5dffe987995 100644
--- a/src/test/regress/output/constraints.source
+++ b/src/test/regress/output/constraints.source
@@ -219,7 +219,7 @@ NOTICE: CREATE TABLE/PRIMARY KEY will create implicit index 'primary_tbl_pkey'
QUERY: INSERT INTO PRIMARY_TBL VALUES (1, 'one');
QUERY: INSERT INTO PRIMARY_TBL VALUES (2, 'two');
QUERY: INSERT INTO PRIMARY_TBL VALUES (1, 'three');
-ERROR: Cannot insert a duplicate key into a unique index
+ERROR: Cannot insert a duplicate key into unique index primary_tbl_pkey
QUERY: INSERT INTO PRIMARY_TBL VALUES (4, 'three');
QUERY: INSERT INTO PRIMARY_TBL VALUES (5, 'one');
QUERY: INSERT INTO PRIMARY_TBL (t) VALUES ('six');
@@ -260,7 +260,7 @@ NOTICE: CREATE TABLE/UNIQUE will create implicit index 'unique_tbl_i_key' for t
QUERY: INSERT INTO UNIQUE_TBL VALUES (1, 'one');
QUERY: INSERT INTO UNIQUE_TBL VALUES (2, 'two');
QUERY: INSERT INTO UNIQUE_TBL VALUES (1, 'three');
-ERROR: Cannot insert a duplicate key into a unique index
+ERROR: Cannot insert a duplicate key into unique index unique_tbl_i_key
QUERY: INSERT INTO UNIQUE_TBL VALUES (4, 'four');
QUERY: INSERT INTO UNIQUE_TBL VALUES (5, 'one');
QUERY: INSERT INTO UNIQUE_TBL (t) VALUES ('six');
@@ -284,7 +284,7 @@ QUERY: INSERT INTO UNIQUE_TBL VALUES (1, 'one');
QUERY: INSERT INTO UNIQUE_TBL VALUES (2, 'two');
QUERY: INSERT INTO UNIQUE_TBL VALUES (1, 'three');
QUERY: INSERT INTO UNIQUE_TBL VALUES (1, 'one');
-ERROR: Cannot insert a duplicate key into a unique index
+ERROR: Cannot insert a duplicate key into unique index unique_tbl_i_key
QUERY: INSERT INTO UNIQUE_TBL VALUES (5, 'one');
QUERY: INSERT INTO UNIQUE_TBL (t) VALUES ('six');
QUERY: SELECT '' AS five, * FROM UNIQUE_TBL;
[parent: a7f14616c627]