2 doc/src/sgml/ref/drop_conversion.sgml
3 PostgreSQL documentation
6 <refentry id=
"sql-dropconversion">
7 <indexterm zone=
"sql-dropconversion">
8 <primary>DROP CONVERSION
</primary>
12 <refentrytitle>DROP CONVERSION
</refentrytitle>
13 <manvolnum>7</manvolnum>
14 <refmiscinfo>SQL - Language Statements
</refmiscinfo>
18 <refname>DROP CONVERSION
</refname>
19 <refpurpose>remove a conversion
</refpurpose>
24 DROP CONVERSION [ IF EXISTS ]
<replaceable>name
</replaceable> [ CASCADE | RESTRICT ]
28 <refsect1 id=
"sql-dropconversion-description">
29 <title>Description
</title>
32 <command>DROP CONVERSION
</command> removes a previously defined conversion.
33 To be able to drop a conversion, you must own the conversion.
38 <title>Parameters
</title>
42 <term><literal>IF EXISTS
</literal></term>
45 Do not throw an error if the conversion does not exist.
46 A notice is issued in this case.
52 <term><replaceable>name
</replaceable></term>
56 The name of the conversion. The conversion name can be
63 <term><literal>CASCADE
</literal></term>
64 <term><literal>RESTRICT
</literal></term>
68 These key words do not have any effect, since there are no
69 dependencies on conversions.
76 <refsect1 id=
"sql-dropconversion-examples">
77 <title>Examples
</title>
80 To drop the conversion named
<literal>myname
</literal>:
82 DROP CONVERSION myname;
83 </programlisting></para>
86 <refsect1 id=
"sql-dropconversion-compat">
87 <title>Compatibility
</title>
90 There is no
<command>DROP CONVERSION
</command> statement in the SQL
91 standard, but a
<command>DROP TRANSLATION
</command> statement that
92 goes along with the
<command>CREATE TRANSLATION
</command> statement
93 that is similar to the
<command>CREATE CONVERSION
</command>
94 statement in PostgreSQL.
99 <title>See Also
</title>
101 <simplelist type=
"inline">
102 <member><xref linkend=
"sql-alterconversion"/></member>
103 <member><xref linkend=
"sql-createconversion"/></member>