diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2003-09-29 00:05:25 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2003-09-29 00:05:25 +0000 |
commit | 7438af96fa6e13117a031193390a377e0560a01b (patch) | |
tree | 1150d54f2f3792bd858624431e21877fd2430632 /src/backend/commands/functioncmds.c | |
parent | 8b510838f6213f69aeca8f237f7718ea1b14a5d1 (diff) | |
download | postgresql-7438af96fa6e13117a031193390a377e0560a01b.tar.gz postgresql-7438af96fa6e13117a031193390a377e0560a01b.zip |
More message editing, some suggested by Alvaro Herrera
Diffstat (limited to 'src/backend/commands/functioncmds.c')
-rw-r--r-- | src/backend/commands/functioncmds.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/backend/commands/functioncmds.c b/src/backend/commands/functioncmds.c index 58431835124..0dcb16a0d78 100644 --- a/src/backend/commands/functioncmds.c +++ b/src/backend/commands/functioncmds.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/functioncmds.c,v 1.36 2003/09/25 06:57:58 petere Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/functioncmds.c,v 1.37 2003/09/29 00:05:24 petere Exp $ * * DESCRIPTION * These routines take the parse tree and pick out the @@ -441,13 +441,8 @@ CreateFunction(CreateFunctionStmt *stmt) errmsg("language \"%s\" does not exist", languageName), (strcmp(languageName, "plperl") == 0 || strcmp(languageName, "plperlu") == 0 || - strcmp(languageName, "plphp") == 0 || strcmp(languageName, "plpgsql") == 0 || - strcmp(languageName, "plpython") == 0 || strcmp(languageName, "plpythonu") == 0 || - strcmp(languageName, "plr") == 0 || - strcmp(languageName, "plruby") == 0 || - strcmp(languageName, "plsh") == 0 || strcmp(languageName, "pltcl") == 0 || strcmp(languageName, "pltclu") == 0) ? errhint("You need to use \"createlang\" to load the language into the database.") : 0)); @@ -948,7 +943,7 @@ CreateCast(CreateCastStmt *stmt) typ1align != typ2align) ereport(ERROR, (errcode(ERRCODE_INVALID_OBJECT_DEFINITION), - errmsg("source and target datatypes are not physically compatible"))); + errmsg("source and target data types are not physically compatible"))); } /* convert CoercionContext enum to char value for castcontext */ |