aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/analyze.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-07-28 00:09:16 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-07-28 00:09:16 +0000
commit81b5c8a1364e7d287fb0aaac848f7f84e64b86d3 (patch)
tree6ce59b7bf5b0cd674a2b0e906adecdc98a231ddf /src/backend/parser/analyze.c
parentb556e8200e55261cf41de7ce8be4b38b0a062c2b (diff)
downloadpostgresql-81b5c8a1364e7d287fb0aaac848f7f84e64b86d3.tar.gz
postgresql-81b5c8a1364e7d287fb0aaac848f7f84e64b86d3.zip
A visit from the message-style police ...
Diffstat (limited to 'src/backend/parser/analyze.c')
-rw-r--r--src/backend/parser/analyze.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/parser/analyze.c b/src/backend/parser/analyze.c
index db8b7cc968d..1ba1bf51461 100644
--- a/src/backend/parser/analyze.c
+++ b/src/backend/parser/analyze.c
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.281 2003/07/19 20:20:52 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.282 2003/07/28 00:09:15 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1151,7 +1151,7 @@ transformTableConstraint(ParseState *pstate, CreateStmtContext *cxt,
case CONSTR_ATTR_NOT_DEFERRABLE:
case CONSTR_ATTR_DEFERRED:
case CONSTR_ATTR_IMMEDIATE:
- elog(ERROR, "illegal context for constraint type %d",
+ elog(ERROR, "invalid context for constraint type %d",
constraint->contype);
break;
@@ -2756,11 +2756,11 @@ transformExecuteStmt(ParseState *pstate, ExecuteStmt *stmt)
if (pstate->p_hasSubLinks)
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("cannot use sub-selects in EXECUTE parameters")));
+ errmsg("cannot use sub-select in EXECUTE parameter")));
if (pstate->p_hasAggs)
ereport(ERROR,
(errcode(ERRCODE_GROUPING_ERROR),
- errmsg("cannot use aggregates in EXECUTE parameters")));
+ errmsg("cannot use aggregate in EXECUTE parameter")));
given_type_id = exprType(expr);
expected_type_id = lfirsto(paramtypes);