2 $Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_language.sgml,v 1.11 2001/09/03 12:57:49 petere Exp $
6 <refentry id="SQL-DROPLANGUAGE">
8 <refentrytitle id="SQL-DROPLANGUAGE-TITLE">
11 <refmiscinfo>SQL - Language Statements</refmiscinfo>
18 remove a user-defined procedural language
23 <date>1999-07-20</date>
26 DROP [ PROCEDURAL ] LANGUAGE <replaceable class="PARAMETER">name</replaceable>
29 <refsect2 id="R2-SQL-DROPLANGUAGE-1">
31 <date>1998-04-15</date>
40 <term><replaceable class="PARAMETER">name</replaceable></term>
43 The name of an existing procedural language. For backward
44 compatibility, the name may be enclosed by single quotes.
52 <refsect2 id="R2-SQL-DROPLANGUAGE-2">
54 <date>1998-04-15</date>
62 <term><computeroutput>
64 </computeroutput></term>
67 This message is returned if the language is successfully dropped.
72 <term><computeroutput>
73 ERROR: Language "<replaceable class="parameter">name</replaceable>" doesn't exist
74 </computeroutput></term>
77 This message occurs if a language called
78 <replaceable class="parameter">name</replaceable> is
79 not found in the database.
88 <refsect1 id="R1-SQL-DROPLANGUAGE-1">
90 <date>1998-04-15</date>
96 <command>DROP PROCEDURAL LANGUAGE</command> will remove the definition
97 of the previously registered procedural language called
98 <replaceable class="parameter">name</replaceable>.
101 <refsect2 id="R2-SQL-DROPLANGUAGE-3">
103 <date>1998-04-15</date>
109 The <command>DROP PROCEDURAL LANGUAGE</command> statement is
110 a <productname>Postgres</productname> language extension.
114 <xref linkend="sql-createlanguage" endterm="sql-createlanguage-title">
115 for information on how to create procedural languages.
119 No checks are made if functions or trigger procedures registered
120 in this language still exist. To re-enable them without having
121 to drop and recreate all the functions, the pg_proc's prolang
122 attribute of the functions must be adjusted to the new object
123 ID of the recreated pg_language entry for the PL.
128 <refsect1 id="R1-SQL-DROPLANGUAGE-2">
133 This command removes the PL/Sample language:
136 DROP LANGUAGE plsample;
141 <refsect1 id="R1-SQL-DROPLANGUAGE-3">
146 <refsect2 id="R2-SQL-DROPLANGUAGE-5">
148 <date>1998-04-15</date>
154 There is no <command>DROP PROCEDURAL LANGUAGE</command> in
155 <acronym>SQL92</acronym>.
161 <!-- Keep this comment at the end of the file
166 sgml-minimize-attributes:nil
167 sgml-always-quote-attributes:t
170 sgml-parent-document:nil
171 sgml-default-dtd-file:"../reference.ced"
172 sgml-exposed-tags:nil
173 sgml-local-catalogs:"/usr/lib/sgml/catalog"
174 sgml-local-ecat-files:nil