diff --git a/doc/src/sgml/ref/drop_function.sgml b/doc/src/sgml/ref/drop_function.sgml index 3e7883e5bf0..ec95044426a 100644 --- a/doc/src/sgml/ref/drop_function.sgml +++ b/doc/src/sgml/ref/drop_function.sgml @@ -1,5 +1,5 @@ @@ -105,14 +105,10 @@ NOTICE RemoveFunction: Function "name + - - - 1998-04-15 - - - Notes - + + Notes Refer to @@ -124,58 +120,42 @@ NOTICE RemoveFunction: Function "name - - - - 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 + + + +