|
9 | 9 | *
|
10 | 10 | *
|
11 | 11 | * IDENTIFICATION
|
12 |
| - * $Header: /cvsroot/pgsql/src/backend/commands/functioncmds.c,v 1.36 2003/09/25 06:57:58 petere Exp $ |
| 12 | + * $Header: /cvsroot/pgsql/src/backend/commands/functioncmds.c,v 1.37 2003/09/29 00:05:24 petere Exp $ |
13 | 13 | *
|
14 | 14 | * DESCRIPTION
|
15 | 15 | * These routines take the parse tree and pick out the
|
@@ -441,13 +441,8 @@ CreateFunction(CreateFunctionStmt *stmt)
|
441 | 441 | errmsg("language \"%s\" does not exist",languageName),
|
442 | 442 | (strcmp(languageName,"plperl")==0||
|
443 | 443 | strcmp(languageName,"plperlu")==0||
|
444 |
| -strcmp(languageName,"plphp")==0|| |
445 | 444 | strcmp(languageName,"plpgsql")==0||
|
446 |
| -strcmp(languageName,"plpython")==0|| |
447 | 445 | strcmp(languageName,"plpythonu")==0||
|
448 |
| -strcmp(languageName,"plr")==0|| |
449 |
| -strcmp(languageName,"plruby")==0|| |
450 |
| -strcmp(languageName,"plsh")==0|| |
451 | 446 | strcmp(languageName,"pltcl")==0||
|
452 | 447 | strcmp(languageName,"pltclu")==0) ?
|
453 | 448 | errhint("You need to use \"createlang\" to load the language into the database.") :0));
|
@@ -948,7 +943,7 @@ CreateCast(CreateCastStmt *stmt)
|
948 | 943 | typ1align!=typ2align)
|
949 | 944 | ereport(ERROR,
|
950 | 945 | (errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
|
951 |
| -errmsg("source and targetdatatypes are not physically compatible"))); |
| 946 | +errmsg("source and targetdata types are not physically compatible"))); |
952 | 947 | }
|
953 | 948 |
|
954 | 949 | /* convert CoercionContext enum to char value for castcontext */
|
|