Throw NOTICE on built-in function removal
authorBruce Momjian <bruce@momjian.us>
Thu, 18 May 2000 15:45:00 +0000 (15:45 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 18 May 2000 15:45:00 +0000 (15:45 +0000)
src/backend/commands/remove.c

index 45d1d310e78d6fd61642f06d9bec9b2eda99805c..b4cccf0428a5e2ac72a82259149e49c558b420e7 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * 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 */
    if ((((Form_pg_proc) GETSTRUCT(tup))->prolang) == INTERNALlanguageId)
    {
        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 ***/