1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
<!-- manual page source format generated by PolyglotMan v3.0.4, -->
<!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z -->
<HTML>
<HEAD>
<TITLE>"DROP(TYPE") manual page</TITLE>
</HEAD>
<BODY>
<A HREF="sql.html">SQL Reference Contents</A>
<H2><A NAME="sect0" HREF="#toc0">NAME </A></H2>
drop type - remove a user-defined type from the system catalogs
<H2><A NAME="sect1" HREF="#toc1">SYNOPSIS
</A></H2>
<B>drop type </B> typename <BR>
<H2><A NAME="sect2" HREF="#toc2">DESCRIPTION </A></H2>
This command removes a user type from
the system catalogs. Only the owner of a type can remove it. <P>
It is the
user's responsibility to remove any operators, functions, aggregates, access
methods, subtypes, classes, etc. that use a deleted type.
<H2><A NAME="sect3" HREF="#toc3">EXAMPLE </A></H2>
-- <BR>
--remove
the box type <BR>
-- <BR>
drop type box <BR>
<H2><A NAME="sect4" HREF="#toc4">SEE ALSO </A></H2>
<A HREF="pgintro.1.html">pgintro(1)</A>
, create <A HREF="type.l.html">type(l)</A>
, drop
<A HREF="operator.l.html">operator(l)</A>
.
<H2><A NAME="sect5" HREF="#toc5">BUGS </A></H2>
If a built-in type is removed, the behavior of the backend
is unpredictable. <P>
<HR><P>
<A NAME="toc"><B>Table of Contents</B></A><P>
<UL>
<LI><A NAME="toc0" HREF="#sect0">NAME</A></LI>
<LI><A NAME="toc1" HREF="#sect1">SYNOPSIS</A></LI>
<LI><A NAME="toc2" HREF="#sect2">DESCRIPTION</A></LI>
<LI><A NAME="toc3" HREF="#sect3">EXAMPLE</A></LI>
<LI><A NAME="toc4" HREF="#sect4">SEE ALSO</A></LI>
<LI><A NAME="toc5" HREF="#sect5">BUGS</A></LI>
</UL>
</BODY></HTML>
|