8000 Oops, forgot to commit this one last week. Part of patch to update · postgrespro/postgres_cluster@a4fec9e · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit a4fec9e

Browse files
committed
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.
1 parent a7f1461 commit a4fec9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/regress/output/constraints.source

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ NOTICE: CREATE TABLE/PRIMARY KEY will create implicit index 'primary_tbl_pkey'
219219
QUERY: INSERT INTO PRIMARY_TBL VALUES (1, 'one');
220220
QUERY: INSERT INTO PRIMARY_TBL VALUES (2, 'two');
221221
QUERY: INSERT INTO PRIMARY_TBL VALUES (1, 'three');
222-
ERROR: Cannot insert a duplicate key into a unique index
222+
ERROR: Cannot insert a duplicate key into unique index primary_tbl_pkey
223223
QUERY: INSERT INTO PRIMARY_TBL VALUES (4, 'three');
224224
QUERY: INSERT INTO PRIMARY_TBL VALUES (5, 'one');
225225
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
260260
QUERY: INSERT INTO UNIQUE_TBL VALUES (1, 'one');
261261
QUERY: INSERT INTO UNIQUE_TBL VALUES (2, 'two');
262262
QUERY: INSERT INTO UNIQUE_TBL VALUES (1, 'three');
263-
ERROR: Cannot insert a duplicate key into a unique index
263+
ERROR: Cannot insert a duplicate key into unique index unique_tbl_i_key
264264
QUERY: INSERT INTO UNIQUE_TBL VALUES (4, 'four');
265265
QUERY: INSERT INTO UNIQUE_TBL VALUES (5, 'one');
266266
QUERY: INSERT INTO UNIQUE_TBL (t) VALUES ('six');
@@ -284,7 +284,7 @@ QUERY: INSERT INTO UNIQUE_TBL VALUES (1, 'one');
284284
QUERY: INSERT INTO UNIQUE_TBL VALUES (2, 'two');
285285
QUERY: INSERT INTO UNIQUE_TBL VALUES (1, 'three');
286286
QUERY: INSERT INTO UNIQUE_TBL VALUES (1, 'one');
287-
ERROR: Cannot insert a duplicate key into a unique index
287+
ERROR: Cannot insert a duplicate key into unique index unique_tbl_i_key
288288
QUERY: INSERT INTO UNIQUE_TBL VALUES (5, 'one');
289289
QUERY: INSERT INTO UNIQUE_TBL (t) VALUES ('six');
290290
QUERY: SELECT '' AS five, * FROM UNIQUE_TBL;

0 commit comments

Comments
 (0)
0