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.
This commit is contained in:
Thomas G. Lockhart 1998-12-13 23:49:18 +00:00
parent e3909672f1
commit 23cebf11b6
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ ERROR: parser: parse error at or near ";"
QUERY: drop rule 314159; QUERY: drop rule 314159;
ERROR: parser: parse error at or near "314159" ERROR: parser: parse error at or near "314159"
QUERY: drop rule nonesuch; QUERY: drop rule nonesuch;
ERROR: RewriteGetRuleEventRel: rule "nonesuch" not found ERROR: Rule or view 'nonesuch' not found
QUERY: drop tuple rule nonesuch; QUERY: drop tuple rule nonesuch;
ERROR: parser: parse error at or near "tuple" ERROR: parser: parse error at or near "tuple"
QUERY: drop instance rule nonesuch; QUERY: drop instance rule nonesuch;

View File

@ -87,7 +87,7 @@ 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;
ERROR: There is more than one possible operator '#' for types 'lseg' and 'point' ERROR: Unable to identify an operator '#' for types 'lseg' and 'point'
You will have to retype this query using an explicit cast You will have to retype this query using an explicit cast
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;