|
7 | 7 | * |
8 | 8 | * |
9 | 9 | * IDENTIFICATION |
10 | | - * $Header: /cvsroot/pgsql/src/backend/utils/fmgr/fmgr.c,v 1.10 1998/01/1519:45:58 pgsql Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/backend/utils/fmgr/fmgr.c,v 1.11 1998/01/1522:31:33 momjian Exp $ |
11 | 11 | * |
12 | 12 | *------------------------------------------------------------------------- |
13 | 13 | */ |
14 | 14 | #include<stdio.h> |
15 | 15 | #include<stdarg.h> |
| 16 | +#include<string.h> |
16 | 17 |
|
17 | 18 | #include"postgres.h" |
18 | 19 |
|
@@ -81,7 +82,7 @@ fmgr_c(FmgrInfo *finfo, |
81 | 82 | * Untrusted functions have very limited use and is clumsy. We |
82 | 83 | * just get rid of it. |
83 | 84 | */ |
84 | | -elog(WARN,"internal error: untrusted function not supported."); |
| 85 | +elog(ERROR,"internal error: untrusted function not supported."); |
85 | 86 | } |
86 | 87 |
|
87 | 88 | /* |
@@ -159,7 +160,6 @@ fmgr_c(FmgrInfo *finfo, |
159 | 160 | void |
160 | 161 | fmgr_info(OidprocedureId,FmgrInfo*finfo) |
161 | 162 | { |
162 | | -func_ptruser_fn=NULL; |
163 | 163 | FmgrCall*fcp; |
164 | 164 | HeapTupleprocedureTuple; |
165 | 165 | FormData_pg_proc*procedureStruct; |
@@ -195,7 +195,7 @@ fmgr_info(Oid procedureId, FmgrInfo *finfo) |
195 | 195 | finfo->fn_addr= |
196 | 196 | fmgr_lookupByName(procedureStruct->proname.data); |
197 | 197 | if (!finfo->fn_addr) |
198 | | -elog(WARN,"fmgr_info: function %s: not in internal table", |
| 198 | +elog(ERROR,"fmgr_info: function %s: not in internal table", |
199 | 199 | procedureStruct->proname.data); |
200 | 200 | break; |
201 | 201 | caseClanguageId: |
|