1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Update for change of 'duplicate key' message.

This commit is contained in:
Tom Lane
1999-11-23 04:19:39 +00:00
parent b04bdf1290
commit 838fb5c233
2 changed files with 26 additions and 17 deletions

View File

@ -1315,7 +1315,7 @@ PF0_2 |PS.base.tb6 |Phone line -122 |-
(12 rows)
QUERY: insert into PField values ('PF1_1', 'should fail due to unique index');
ERROR: Cannot insert a duplicate key into a unique index
ERROR: Cannot insert a duplicate key into unique index pfield_name
QUERY: update PSlot set backlink = 'WS.not.there' where slotname = 'PS.base.a1';
ERROR: WS.not.there does not exists
QUERY: update PSlot set backlink = 'XX.illegal' where slotname = 'PS.base.a1';
@ -1325,7 +1325,7 @@ ERROR: PS.not.there does not exists
QUERY: update PSlot set slotlink = 'XX.illegal' where slotname = 'PS.base.a1';
ERROR: illegal slotlink beginning with XX
QUERY: insert into HSlot values ('HS', 'base.hub1', 1, '');
ERROR: Cannot insert a duplicate key into a unique index
ERROR: Cannot insert a duplicate key into unique index hslot_name
QUERY: insert into HSlot values ('HS', 'base.hub1', 20, '');
ERROR: no manual manipulation of HSlot
QUERY: delete from HSlot;

View File

@ -16,19 +16,28 @@ hash_name_heap|t
hash_txt_heap |t
ihighway |t
onek |t
pg_aggregate |t
pg_am |t
pg_amop |t
pg_attrdef |t
pg_attribute |t
pg_class |t
pg_description|t
pg_group |t
pg_index |t
pg_inherits |t
pg_language |t
pg_listener |t
pg_opclass |t
pg_operator |t
pg_proc |t
pg_relcheck |t
pg_rewrite |t
pg_trigger |t
pg_type |t
road |t
shighway |t
tenk1 |t
tenk2 |t
(25 rows)
(34 rows)