function must be specified, as only the function with the
given name and argument types will be removed.
+
-
-
- 1998-04-15
-
-
- Notes
-
+
+
Notes
Refer to
No checks are made to ensure that types, operators or access
methods that rely on the function have been removed first.
-
-
-
- Usage
-
+
+
Examples
This command removes the square root function:
-DROP FUNCTION sqrt(int4);
-
+DROP FUNCTION sqrt(integer);
+
-
-
- Compatibility
-
+
+
Compatibility
-
-
- 1999-07-20
-
-
- SQL92
-
+ A DROP FUNCTION statement is defined in SQL99. One of its syntax forms is:
- DROP FUNCTION
- is a
Postgres language extension.
-
-
+
+DROP FUNCTION name (arg>, ...) { RESTRICT | CASCADE }
+
-
-
- 1998-04-15
-
-
- SQL/PSM
-
- SQL/PSM is a standard to enable function extensibility.
- The SQL/PSM DROP FUNCTION statement has the following syntax:
+ where CASCADE> specifies dropping all objects that
+ depend on the function and RESTRICT refuses to
+ drop the function if dependent objects exist.
+
+
-
-DROP [ SPECIFIC ] FUNCTION name { RESTRICT | CASCADE }
-
-
-
+
+
See Also
+
+
+
+