Commit d70df16a authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Fix up for recent changes in elog error messages.

Some behavior of the triggers test cases changed for the least week or two;
 now back to the usual expected behavior.
parent 6cfa6cb9
...@@ -87,10 +87,9 @@ one|f1 ...@@ -87,10 +87,9 @@ one|f1
QUERY: SELECT '' AS count, p.f1, l.s, l.s # p.f1 AS intersection QUERY: SELECT '' AS count, p.f1, l.s, l.s # p.f1 AS intersection
FROM LSEG_TBL l, POINT_TBL p; FROM LSEG_TBL l, POINT_TBL p;
NOTICE: there is no operator # for types lseg and point ERROR: There is no operator '#' for types 'lseg' and 'point'
NOTICE: You will either have to retype this query using an You will either have to retype this query using an explicit cast,
NOTICE: explicit cast, or you will have to define the operator or you will have to define the operator using CREATE OPERATOR
ERROR: # for lseg and point using CREATE OPERATOR
QUERY: SELECT '' AS thirty, p.f1, l.s, p.f1 ## l.s AS closest QUERY: SELECT '' AS thirty, p.f1, l.s, p.f1 ## l.s AS closest
FROM LSEG_TBL l, POINT_TBL p; FROM LSEG_TBL l, POINT_TBL p;
thirty|f1 |s |closest thirty|f1 |s |closest
......
...@@ -23,10 +23,9 @@ s ...@@ -23,10 +23,9 @@ s
(5 rows) (5 rows)
QUERY: SELECT * FROM LSEG_TBL WHERE s <= '[(1,2),(3,4)]'::lseg; QUERY: SELECT * FROM LSEG_TBL WHERE s <= '[(1,2),(3,4)]'::lseg;
NOTICE: there is no operator <= for types lseg and lseg ERROR: There is no operator '<=' for types 'lseg' and 'lseg'
NOTICE: You will either have to retype this query using an You will either have to retype this query using an explicit cast,
NOTICE: explicit cast, or you will have to define the operator or you will have to define the operator using CREATE OPERATOR
ERROR: <= for lseg and lseg using CREATE OPERATOR
QUERY: SELECT * FROM LSEG_TBL WHERE (s <-> '[(1,2),(3,4)]'::lseg) < 10; QUERY: SELECT * FROM LSEG_TBL WHERE (s <-> '[(1,2),(3,4)]'::lseg) < 10;
s s
------------------ ------------------
......
...@@ -40,27 +40,25 @@ QUERY: insert into fkeys2 values (30, '3', 2); ...@@ -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 (40, '4', 5);
QUERY: insert into fkeys2 values (50, '5', 3); QUERY: insert into fkeys2 values (50, '5', 3);
QUERY: insert into fkeys2 values (70, '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 (10, '1', 2);
QUERY: insert into fkeys values (30, '3', 3); QUERY: insert into fkeys values (30, '3', 3);
QUERY: insert into fkeys values (40, '4', 2); QUERY: insert into fkeys values (40, '4', 2);
QUERY: insert into fkeys values (50, '5', 2); QUERY: insert into fkeys values (50, '5', 2);
QUERY: insert into fkeys values (70, '5', 1); 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); 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'; QUERY: delete from pkeys where pkey1 = 30 and pkey2 = '3';
NOTICE: check_pkeys_fkey_cascade: 1 tuple(s) of fkeys are deleted 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'; 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 fkeys are deleted
NOTICE: check_pkeys_fkey_cascade: 1 tuple(s) of fkeys2 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'; 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 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'; 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 fkeys are deleted
NOTICE: check_pkeys_fkey_cascade: 1 tuple(s) of fkeys2 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 pkeys;
QUERY: DROP TABLE fkeys; QUERY: DROP TABLE fkeys;
QUERY: DROP TABLE fkeys2; QUERY: DROP TABLE fkeys2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment