Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 23cebf1

Browse files
author
Thomas G. Lockhart
committed
Clean up error messages associated with rules and views.
Fix parser error message when an operator is not found to not explicitly claim that there is more than one.
1 parent e390967 commit 23cebf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/regress/expected/errors.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ ERROR: parser: parse error at or near ";"
139139
QUERY: drop rule 314159;
140140
ERROR: parser: parse error at or near "314159"
141141
QUERY: drop rule nonesuch;
142-
ERROR: RewriteGetRuleEventRel: rule "nonesuch" not found
142+
ERROR: Rule or view 'nonesuch' not found
143143
QUERY: drop tuple rule nonesuch;
144144
ERROR: parser: parse error at or near "tuple"
145145
QUERY: drop instance rule nonesuch;

src/test/regress/expected/geometry.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ 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-
ERROR: There is more than one possible operator '#' for types 'lseg' and 'point'
90+
ERROR: Unable to identify an operator '#' for types 'lseg' and 'point'
9191
You will have to retype this query using an explicit cast
9292
QUERY: SELECT '' AS thirty, p.f1, l.s, p.f1 ## l.s AS closest
9393
FROM LSEG_TBL l, POINT_TBL p;

0 commit comments

Comments
 (0)