From feb4f44d296b88b7f0723f4a4f3945a371276e0b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 25 Sep 2003 06:58:07 +0000 Subject: Message editing: remove gratuitous variations in message wording, standardize terms, add some clarifications, fix some untranslatable attempts at dynamic message building. --- src/backend/commands/view.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/commands/view.c') diff --git a/src/backend/commands/view.c b/src/backend/commands/view.c index 4d0877dbcf0..550ec0cf1f0 100644 --- a/src/backend/commands/view.c +++ b/src/backend/commands/view.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/view.c,v 1.77 2003/08/04 02:39:58 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/view.c,v 1.78 2003/09/25 06:57:59 petere Exp $ * *------------------------------------------------------------------------- */ @@ -86,7 +86,7 @@ DefineVirtualRelation(const RangeVar *relation, List *tlist, bool replace) if (attrList == NIL) ereport(ERROR, (errcode(ERRCODE_INVALID_TABLE_DEFINITION), - errmsg("view must have at least one attribute"))); + errmsg("view must have at least one column"))); /* * Check to see if we want to replace an existing view. @@ -190,7 +190,7 @@ checkViewTupleDesc(TupleDesc newdesc, TupleDesc olddesc) newattr->atttypmod != oldattr->atttypmod) ereport(ERROR, (errcode(ERRCODE_INVALID_TABLE_DEFINITION), - errmsg("cannot change datatype of view column \"%s\"", + errmsg("cannot change data type of view column \"%s\"", NameStr(oldattr->attname)))); /* We can ignore the remaining attributes of an attribute... */ } -- cgit v1.2.3