|
8 | 8 | *
|
9 | 9 | *
|
10 | 10 | * IDENTIFICATION
|
11 |
| - * $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.162 2003/09/25 06:58:01 petere Exp $ |
| 11 | + * $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.163 2003/09/26 15:27:35 petere Exp $ |
12 | 12 | *
|
13 | 13 | *-------------------------------------------------------------------------
|
14 | 14 | */
|
@@ -601,17 +601,17 @@ transformExpr(ParseState *pstate, Node *expr)
|
601 | 601 | if (opform->oprresult!=BOOLOID)
|
602 | 602 | ereport(ERROR,
|
603 | 603 | (errcode(ERRCODE_DATATYPE_MISMATCH),
|
604 |
| -errmsg("operator %s must return boolean, not type %s", |
| 604 | +errmsg("operator %s must returntypeboolean, not type %s", |
605 | 605 | opname,
|
606 | 606 | format_type_be(opform->oprresult)),
|
607 |
| -errhint("The operator of a quantified predicate subquery must return boolean."))); |
| 607 | +errhint("The operator of a quantified predicate subquery must returntypeboolean."))); |
608 | 608 |
|
609 | 609 | if (get_func_retset(opform->oprcode))
|
610 | 610 | ereport(ERROR,
|
611 | 611 | (errcode(ERRCODE_DATATYPE_MISMATCH),
|
612 | 612 | errmsg("operator %s must not return a set",
|
613 | 613 | opname),
|
614 |
| -errhint("The operator of a quantified predicate subquery must return boolean."))); |
| 614 | +errhint("The operator of a quantified predicate subquery must returntypeboolean."))); |
615 | 615 |
|
616 | 616 | sublink->operOids=lappendo(sublink->operOids,
|
617 | 617 | oprid(optup));
|
|