Commit feaf1fc1 authored by Bruce Momjian's avatar Bruce Momjian

Throw NOTICE on built-in function removal

parent e17cfa8f
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.46 2000/04/12 17:14:59 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.47 2000/05/18 15:45:00 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -370,7 +370,7 @@ RemoveFunction(char *functionName, /* function name to be removed */ ...@@ -370,7 +370,7 @@ RemoveFunction(char *functionName, /* function name to be removed */
if ((((Form_pg_proc) GETSTRUCT(tup))->prolang) == INTERNALlanguageId) if ((((Form_pg_proc) GETSTRUCT(tup))->prolang) == INTERNALlanguageId)
{ {
heap_close(relation, RowExclusiveLock); heap_close(relation, RowExclusiveLock);
elog(ERROR, "RemoveFunction: function \"%s\" is built-in", functionName); elog(NOTICE, "RemoveFunction: function \"%s\" is built-in", functionName);
} }
/*** Delete any comments associated with this function ***/ /*** Delete any comments associated with this function ***/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment