From 23cebf11b62ee3ab74afd280d8f94ca7b6507578 Mon Sep 17 00:00:00 2001
From: "Thomas G. Lockhart" <lockhart@fourpalms.org>
Date: Sun, 13 Dec 1998 23:49:18 +0000
Subject: [PATCH] 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.

---
 src/test/regress/expected/errors.out   | 2 +-
 src/test/regress/expected/geometry.out | 2 +-
 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;
-- 
GitLab