From a4fec9ec34a43e23d9c7d3d6d6dfadd36392ff47 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 27 Nov 1999 17:56:18 +0000 Subject: [PATCH] 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 d7bb59cbf8..5dffe98799 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; -- 2.40.0