]> granicus.if.org Git - postgresql/commitdiff
Fix up for recent changes in elog error messages.
authorThomas G. Lockhart <lockhart@fourpalms.org>
Sat, 10 Jan 1998 17:50:49 +0000 (17:50 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Sat, 10 Jan 1998 17:50:49 +0000 (17:50 +0000)
Some behavior of the triggers test cases changed for the least week or two;
 now back to the usual expected behavior.

src/test/regress/expected/geometry.out
src/test/regress/expected/lseg.out
src/test/regress/expected/triggers.out

index e8489597fd8116470759c1e0a9d1ecc638329d0d..a423ae314e04f7408666b6338ce7947ee6df6475 100644 (file)
@@ -87,10 +87,9 @@ one|f1
 
 QUERY: SELECT '' AS count, p.f1, l.s, l.s # p.f1 AS intersection
    FROM LSEG_TBL l, POINT_TBL p;
-NOTICE:  there is no operator # for types lseg and point
-NOTICE:  You will either have to retype this query using an
-NOTICE:  explicit cast, or you will have to define the operator
-ERROR:  # for lseg and point using CREATE OPERATOR
+ERROR:  There is no operator '#' for types 'lseg' and 'point'
+       You will either have to retype this query using an explicit cast,
+       or you will have to define the operator using CREATE OPERATOR
 QUERY: SELECT '' AS thirty, p.f1, l.s, p.f1 ## l.s AS closest
    FROM LSEG_TBL l, POINT_TBL p;
 thirty|f1        |s                            |closest                             
index 69afc2253971df68a8232c83cfc011d81b09bffc..b21d7a294a029d8d41769f512677d25056243951 100644 (file)
@@ -23,10 +23,9 @@ s
 (5 rows)
 
 QUERY: SELECT * FROM LSEG_TBL WHERE s <= '[(1,2),(3,4)]'::lseg;
-NOTICE:  there is no operator <= for types lseg and lseg
-NOTICE:  You will either have to retype this query using an
-NOTICE:  explicit cast, or you will have to define the operator
-ERROR:  <= for lseg and lseg using CREATE OPERATOR
+ERROR:  There is no operator '<=' for types 'lseg' and 'lseg'
+       You will either have to retype this query using an explicit cast,
+       or you will have to define the operator using CREATE OPERATOR
 QUERY: SELECT * FROM LSEG_TBL WHERE (s <-> '[(1,2),(3,4)]'::lseg) < 10;
 s                 
 ------------------
index c4cf5b12b0f549dd0bb47f266290f0cc576bd9f7..17a17d34c359524e20260495403fbc5cb250f24b 100644 (file)
@@ -40,27 +40,25 @@ QUERY: insert into fkeys2 values (30, '3', 2);
 QUERY: insert into fkeys2 values (40, '4', 5);
 QUERY: insert into fkeys2 values (50, '5', 3);
 QUERY: insert into fkeys2 values (70, '5', 3);
-ERROR:  check_fkeys2_pkey_exist: tuple references non-existing key in pkeys
 QUERY: insert into fkeys values (10, '1', 2);
 QUERY: insert into fkeys values (30, '3', 3);
 QUERY: insert into fkeys values (40, '4', 2);
 QUERY: insert into fkeys values (50, '5', 2);
 QUERY: insert into fkeys values (70, '5', 1);
-ERROR:  check_fkeys_pkey_exist: tuple references non-existing key in pkeys
 QUERY: insert into fkeys values (60, '6', 4);
-ERROR:  check_fkeys_pkey2_exist: tuple references non-existing key in fkeys2
 QUERY: delete from pkeys where pkey1 = 30 and pkey2 = '3';
 NOTICE:  check_pkeys_fkey_cascade: 1 tuple(s) of fkeys are deleted
-ERROR:  check_fkeys2_fkey_restrict: tuple referenced in fkeys
+NOTICE:  check_pkeys_fkey_cascade: 1 tuple(s) of fkeys2 are deleted
 QUERY: delete from pkeys where pkey1 = 40 and pkey2 = '4';
 NOTICE:  check_pkeys_fkey_cascade: 1 tuple(s) of fkeys are deleted
 NOTICE:  check_pkeys_fkey_cascade: 1 tuple(s) of fkeys2 are deleted
 QUERY: update pkeys set pkey1 = 7, pkey2 = '70' where pkey1 = 50 and pkey2 = '5';
 NOTICE:  check_pkeys_fkey_cascade: 1 tuple(s) of fkeys are deleted
-ERROR:  check_fkeys2_fkey_restrict: tuple referenced in fkeys
+NOTICE:  check_pkeys_fkey_cascade: 1 tuple(s) of fkeys2 are deleted
 QUERY: update pkeys set pkey1 = 7, pkey2 = '70' where pkey1 = 10 and pkey2 = '1';
 NOTICE:  check_pkeys_fkey_cascade: 1 tuple(s) of fkeys are deleted
 NOTICE:  check_pkeys_fkey_cascade: 1 tuple(s) of fkeys2 are deleted
+ERROR:  Cannot insert a duplicate key into a unique index
 QUERY: DROP TABLE pkeys;
 QUERY: DROP TABLE fkeys;
 QUERY: DROP TABLE fkeys2;