aboutsummaryrefslogtreecommitdiff
path: root/doc/man/drop_function.l
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/drop_function.l')
-rw-r--r--doc/man/drop_function.l28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/man/drop_function.l b/doc/man/drop_function.l
new file mode 100644
index 00000000000..6a8c33de85f
--- /dev/null
+++ b/doc/man/drop_function.l
@@ -0,0 +1,28 @@
+.\" This is -*-nroff-*-
+.\" XXX standard disclaimer belongs here....
+.\" $Header: /cvsroot/pgsql/doc/man/Attic/drop_function.l,v 1.1.1.1 1996/08/18 22:14:23 scrappy Exp $
+.TH "DROP FUNCTION" SQL 11/05/95 Postgres95 Postgres95
+.SH NAME
+drop function \(em remove a user-defined C function
+.SH SYNOPSIS
+.nf
+\fBdrop function \fRfunction_name ( \fP[ type-1 { \fB,\fP type-n } ] \fB)
+.fi
+.SH DESCRIPTION
+.BR "drop function"
+will remove references to an existing C function. To execute this
+command the user must be the owner of the function. The input
+argument types to the function must be specified, as only the
+function with the given name and argument types will be removed.
+.SH EXAMPLE
+.nf
+--
+--this command removes the square root function
+--
+drop function sqrt(int4)
+.fi
+.SH "SEE ALSO"
+create function(l).
+.SH BUGS
+No checks are made to ensure that types, operators or access methods
+that rely on the function have been removed first.