mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-02 14:01:18 +02:00
Change remove function warning for built-ins.
This commit is contained in:
parent
61f06bc2f1
commit
6108a7ed6a
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.47 2000/05/18 15:45:00 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/remove.c,v 1.48 2000/05/18 16:09:38 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -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(NOTICE, "RemoveFunction: function \"%s\" is built-in", functionName);
|
elog(NOTICE, "Removing built-in function \"%s\"", functionName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*** Delete any comments associated with this function ***/
|
/*** Delete any comments associated with this function ***/
|
||||||
|
Loading…
Reference in New Issue
Block a user