Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd70df16

Browse files
author
Thomas G. Lockhart
committed
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.
1 parent6cfa6cb commitd70df16

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

‎src/test/regress/expected/geometry.out

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,9 @@ one|f1
8787

8888
QUERY: SELECT '' AS count, p.f1, l.s, l.s # p.f1 AS intersection
8989
FROM LSEG_TBL l, POINT_TBL p;
90-
NOTICE: there is no operator # for types lseg and point
91-
NOTICE: You will either have to retype this query using an
92-
NOTICE: explicit cast, or you will have to define the operator
93-
ERROR: # for lseg and point using CREATE OPERATOR
90+
ERROR: There is no operator '#' for types 'lseg' and 'point'
91+
You will either have to retype this query using an explicit cast,
92+
or you will have to define the operator using CREATE OPERATOR
9493
QUERY: SELECT '' AS thirty, p.f1, l.s, p.f1 ## l.s AS closest
9594
FROM LSEG_TBL l, POINT_TBL p;
9695
thirty|f1 |s |closest

‎src/test/regress/expected/lseg.out

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ s
2323
(5 rows)
2424

2525
QUERY: SELECT * FROM LSEG_TBL WHERE s <= '[(1,2),(3,4)]'::lseg;
26-
NOTICE: there is no operator <= for types lseg and lseg
27-
NOTICE: You will either have to retype this query using an
28-
NOTICE: explicit cast, or you will have to define the operator
29-
ERROR: <= for lseg and lseg using CREATE OPERATOR
26+
ERROR: There is no operator '<=' for types 'lseg' and 'lseg'
27+
You will either have to retype this query using an explicit cast,
28+
or you will have to define the operator using CREATE OPERATOR
3029
QUERY: SELECT * FROM LSEG_TBL WHERE (s <-> '[(1,2),(3,4)]'::lseg) < 10;
3130
s
3231
------------------

‎src/test/regress/expected/triggers.out

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,25 @@ QUERY: insert into fkeys2 values (30, '3', 2);
4040
QUERY: insert into fkeys2 values (40, '4', 5);
4141
QUERY: insert into fkeys2 values (50, '5', 3);
4242
QUERY: insert into fkeys2 values (70, '5', 3);
43-
ERROR: check_fkeys2_pkey_exist: tuple references non-existing key in pkeys
4443
QUERY: insert into fkeys values (10, '1', 2);
4544
QUERY: insert into fkeys values (30, '3', 3);
4645
QUERY: insert into fkeys values (40, '4', 2);
4746
QUERY: insert into fkeys values (50, '5', 2);
4847
QUERY: insert into fkeys values (70, '5', 1);
49-
ERROR: check_fkeys_pkey_exist: tuple references non-existing key in pkeys
5048
QUERY: insert into fkeys values (60, '6', 4);
51-
ERROR: check_fkeys_pkey2_exist: tuple references non-existing key in fkeys2
5249
QUERY: delete from pkeys where pkey1 = 30 and pkey2 = '3';
5350
NOTICE: check_pkeys_fkey_cascade: 1 tuple(s) of fkeys are deleted
54-
ERROR:check_fkeys2_fkey_restrict:tuple referenced in fkeys
51+
NOTICE:check_pkeys_fkey_cascade: 1tuple(s) of fkeys2 are deleted
5552
QUERY: delete from pkeys where pkey1 = 40 and pkey2 = '4';
5653
NOTICE: check_pkeys_fkey_cascade: 1 tuple(s) of fkeys are deleted
5754
NOTICE: check_pkeys_fkey_cascade: 1 tuple(s) of fkeys2 are deleted
5855
QUERY: update pkeys set pkey1 = 7, pkey2 = '70' where pkey1 = 50 and pkey2 = '5';
5956
NOTICE: check_pkeys_fkey_cascade: 1 tuple(s) of fkeys are deleted
60-
ERROR:check_fkeys2_fkey_restrict:tuple referenced in fkeys
57+
NOTICE:check_pkeys_fkey_cascade: 1tuple(s) of fkeys2 are deleted
6158
QUERY: update pkeys set pkey1 = 7, pkey2 = '70' where pkey1 = 10 and pkey2 = '1';
6259
NOTICE: check_pkeys_fkey_cascade: 1 tuple(s) of fkeys are deleted
6360
NOTICE: check_pkeys_fkey_cascade: 1 tuple(s) of fkeys2 are deleted
61+
ERROR: Cannot insert a duplicate key into a unique index
6462
QUERY: DROP TABLE pkeys;
6563
QUERY: DROP TABLE fkeys;
6664
QUERY: DROP TABLE fkeys2;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp