|
7 | 7 | *
|
8 | 8 | *
|
9 | 9 | * IDENTIFICATION
|
10 |
| - * $Header: /cvsroot/pgsql/src/backend/parser/parse_oper.c,v 1.3 1997/11/26 03:42:45 momjian Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/backend/parser/parse_oper.c,v 1.4 1998/01/01 05:44:54 thomas Exp $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
@@ -587,11 +587,17 @@ op_error(char *op, Oid arg1, Oid arg2)
|
587 | 587 | elog(WARN, "right hand side of operator %s has an unknown type, probably a bad attribute name", op);
|
588 | 588 | }
|
589 | 589 |
|
| 590 | +#if FALSE |
590 | 591 | elog(NOTICE, "there is no operator %s for types %s and %s",
|
591 | 592 | op, typeTypeName(tp1), typeTypeName(tp2));
|
592 | 593 | elog(NOTICE, "You will either have to retype this query using an");
|
593 | 594 | elog(NOTICE, "explicit cast, or you will have to define the operator");
|
594 | 595 | elog(WARN, "%s for %s and %s using CREATE OPERATOR",
|
595 | 596 | op, typeTypeName(tp1), typeTypeName(tp2));
|
| 597 | +#endif |
| 598 | + elog(WARN, "There is no operator '%s' for types '%s' and '%s'" |
| 599 | + "\n\tYou will either have to retype this query using an explicit cast," |
| 600 | + "\n\tor you will have to define the operator using CREATE OPERATOR", |
| 601 | + op, typeTypeName(tp1), typeTypeName(tp2)); |
596 | 602 | }
|
597 | 603 |
|
0 commit comments