aboutsummaryrefslogtreecommitdiff
path: root/doc/man/drop_type.l
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/drop_type.l')
-rw-r--r--doc/man/drop_type.l30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/man/drop_type.l b/doc/man/drop_type.l
new file mode 100644
index 00000000000..e2ab3d70c67
--- /dev/null
+++ b/doc/man/drop_type.l
@@ -0,0 +1,30 @@
+.\" This is -*-nroff-*-
+.\" XXX standard disclaimer belongs here....
+.\" $Header: /cvsroot/pgsql/doc/man/Attic/drop_type.l,v 1.1.1.1 1996/08/18 22:14:24 scrappy Exp $
+.TH "DROP TYPE" SQL 11/05/95 Postgres95 Postgres95
+.SH NAME
+drop type \(em remove a user-defined type from the system catalogs
+.SH SYNOPSIS
+.nf
+\fBdrop type\fR typename
+.fi
+.SH DESCRIPTION
+This command removes a user type from the system catalogs. Only the
+owner of a type can remove it.
+.PP
+It is the user's responsibility to remove any operators, functions,
+aggregates, access methods, subtypes, classes, etc. that use a
+deleted type.
+.SH EXAMPLE
+.nf
+--
+--remove the box type
+--
+drop type box
+.fi
+.SH "SEE ALSO"
+introduction(l),
+create type(l),
+drop operator(l).
+.SH "BUGS"
+If a built-in type is removed, the behavior of the backend is unpredictable.