diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2003-09-26 15:27:37 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2003-09-26 15:27:37 +0000 |
commit | d84b6ef56be10d0c24859d38fcc4fa99cb1f43e2 (patch) | |
tree | d6cbea40e706840e6070055bb35ec3bd1964d112 /src/backend/parser/parse_expr.c | |
parent | 98150f108f2343bfc8510ba7a2c88a43ae4a32af (diff) | |
download | postgresql-d84b6ef56be10d0c24859d38fcc4fa99cb1f43e2.tar.gz postgresql-d84b6ef56be10d0c24859d38fcc4fa99cb1f43e2.zip |
Various message fixes, among those fixes for the previous round of fixes
Diffstat (limited to 'src/backend/parser/parse_expr.c')
-rw-r--r-- | src/backend/parser/parse_expr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/parser/parse_expr.c b/src/backend/parser/parse_expr.c index 88768b3b4e5..b5d23fadfeb 100644 --- a/src/backend/parser/parse_expr.c +++ b/src/backend/parser/parse_expr.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.162 2003/09/25 06:58:01 petere Exp $ + * $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.163 2003/09/26 15:27:35 petere Exp $ * *------------------------------------------------------------------------- */ @@ -601,17 +601,17 @@ transformExpr(ParseState *pstate, Node *expr) if (opform->oprresult != BOOLOID) ereport(ERROR, (errcode(ERRCODE_DATATYPE_MISMATCH), - errmsg("operator %s must return boolean, not type %s", + errmsg("operator %s must return type boolean, not type %s", opname, format_type_be(opform->oprresult)), - errhint("The operator of a quantified predicate subquery must return boolean."))); + errhint("The operator of a quantified predicate subquery must return type boolean."))); if (get_func_retset(opform->oprcode)) ereport(ERROR, (errcode(ERRCODE_DATATYPE_MISMATCH), errmsg("operator %s must not return a set", opname), - errhint("The operator of a quantified predicate subquery must return boolean."))); + errhint("The operator of a quantified predicate subquery must return type boolean."))); sublink->operOids = lappendo(sublink->operOids, oprid(optup)); |