aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>1998-12-13 23:49:18 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>1998-12-13 23:49:18 +0000
commit23cebf11b62ee3ab74afd280d8f94ca7b6507578 (patch)
tree28a05c84420ba690633147d010ad3cd19dfcc85d /src
parente3909672f12e0ddf3e202b824fda068ad2195ef2 (diff)
downloadpostgresql-23cebf11b62ee3ab74afd280d8f94ca7b6507578.tar.gz
postgresql-23cebf11b62ee3ab74afd280d8f94ca7b6507578.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/expected/errors.out2
-rw-r--r--src/test/regress/expected/geometry.out2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/expected/errors.out b/src/test/regress/expected/errors.out
index 3d73007367e..837056caef9 100644
--- a/src/test/regress/expected/errors.out
+++ b/src/test/regress/expected/errors.out
@@ -139,7 +139,7 @@ ERROR: parser: parse error at or near ";"
QUERY: drop rule 314159;
ERROR: parser: parse error at or near "314159"
QUERY: drop rule nonesuch;
-ERROR: RewriteGetRuleEventRel: rule "nonesuch" not found
+ERROR: Rule or view 'nonesuch' not found
QUERY: drop tuple rule nonesuch;
ERROR: parser: parse error at or near "tuple"
QUERY: drop instance rule nonesuch;
diff --git a/src/test/regress/expected/geometry.out b/src/test/regress/expected/geometry.out
index bc30045cacd..5705a06792d 100644
--- a/src/test/regress/expected/geometry.out
+++ b/src/test/regress/expected/geometry.out
@@ -87,7 +87,7 @@ one|f1
QUERY: SELECT '' AS count, p.f1, l.s, l.s # p.f1 AS intersection
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
QUERY: SELECT '' AS thirty, p.f1, l.s, p.f1 ## l.s AS closest
FROM LSEG_TBL l, POINT_TBL p;