2 $Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_language.sgml,v 1.20 2003/09/22 00:16:58 petere Exp $
3 PostgreSQL documentation
6 <refentry id="SQL-DROPLANGUAGE">
8 <refentrytitle id="SQL-DROPLANGUAGE-TITLE">DROP LANGUAGE</refentrytitle>
9 <refmiscinfo>SQL - Language Statements</refmiscinfo>
13 <refname>DROP LANGUAGE</refname>
14 <refpurpose>remove a procedural language</refpurpose>
17 <indexterm zone="sql-droplanguage">
18 <primary>DROP LANGUAGE</primary>
23 DROP [ PROCEDURAL ] LANGUAGE <replaceable class="PARAMETER">name</replaceable> [ CASCADE | RESTRICT ]
28 <title>Description</title>
31 <command>DROP LANGUAGE</command> will remove the definition
32 of the previously registered procedural language called
33 <replaceable class="parameter">name</replaceable>.
38 <title>Parameters</title>
42 <term><replaceable class="PARAMETER">name</replaceable></term>
45 The name of an existing procedural language. For backward
46 compatibility, the name may be enclosed by single quotes.
52 <term><literal>CASCADE</literal></term>
55 Automatically drop objects that depend on the language (such as
56 functions in the language).
62 <term><literal>RESTRICT</literal></term>
65 Refuse to drop the language if any objects depend on it. This
74 <title>Examples</title>
77 This command removes the procedural language
78 <literal>plsample</literal>:
81 DROP LANGUAGE plsample;
87 <title>Compatibility</title>
90 There is no <command>DROP LANGUAGE</command> statement in the SQL
96 <title>See Also</title>
98 <simplelist type="inline">
99 <member><xref linkend="sql-alterlanguage" endterm="sql-alterlanguage-title"></member>
100 <member><xref linkend="sql-createlanguage" endterm="sql-createlanguage-title"></member>
101 <member><xref linkend="app-droplang"></member>
107 <!-- Keep this comment at the end of the file
112 sgml-minimize-attributes:nil
113 sgml-always-quote-attributes:t
116 sgml-parent-document:nil
117 sgml-default-dtd-file:"../reference.ced"
118 sgml-exposed-tags:nil
119 sgml-local-catalogs:"/usr/lib/sgml/catalog"
120 sgml-local-ecat-files:nil