EnterpriseDB

Previous PageTable Of ContentsNext Page

3.3.29 DROP FUNCTION

Name

DROP FUNCTION -- remove a function

Synopsis

DROP FUNCTION name [ ([ type [, ...] ]) ]

Description

DROP FUNCTION removes the definition of an existing function. To execute this command you must be a superuser or the owner of the function. The argument types to the function must be specified if there is at least one argument. (This requirement is not Oracle compatible. Postgres Plus Advanced Server allows overloading of function names, so the function signature is required in the Postgres Plus Advanced Server DROP FUNCTION command.)

Parameters

name

The name (optionally schema-qualified) of an existing function.

type

The data type of an argument of the function.

Examples

The following command removes the emp_comp function.

DROP FUNCTION emp_comp(NUMBER, NUMBER);

See Also

CREATE FUNCTION

Previous PageTable Of ContentsNext Page

Powered by Transit