2 $Header: /cvsroot/pgsql/doc/src/sgml/ref/drop_language.sgml,v 1.12 2001/10/26 21:17:03 tgl Exp $
6 <refentry id="SQL-DROPLANGUAGE">
8 <refentrytitle id="SQL-DROPLANGUAGE-TITLE">DROP LANGUAGE</refentrytitle>
9 <refmiscinfo>SQL - Language Statements</refmiscinfo>
16 remove a user-defined procedural language
21 <date>1999-07-20</date>
24 DROP [ PROCEDURAL ] LANGUAGE <replaceable class="PARAMETER">name</replaceable>
27 <refsect2 id="R2-SQL-DROPLANGUAGE-1">
29 <date>1998-04-15</date>
38 <term><replaceable class="PARAMETER">name</replaceable></term>
41 The name of an existing procedural language. For backward
42 compatibility, the name may be enclosed by single quotes.
50 <refsect2 id="R2-SQL-DROPLANGUAGE-2">
52 <date>1998-04-15</date>
60 <term><computeroutput>
62 </computeroutput></term>
65 This message is returned if the language is successfully dropped.
70 <term><computeroutput>
71 ERROR: Language "<replaceable class="parameter">name</replaceable>" doesn't exist
72 </computeroutput></term>
75 This message occurs if a language called
76 <replaceable class="parameter">name</replaceable> is
77 not found in the database.
86 <refsect1 id="R1-SQL-DROPLANGUAGE-1">
88 <date>1998-04-15</date>
94 <command>DROP PROCEDURAL LANGUAGE</command> will remove the definition
95 of the previously registered procedural language called
96 <replaceable class="parameter">name</replaceable>.
99 <refsect2 id="R2-SQL-DROPLANGUAGE-3">
101 <date>1998-04-15</date>
107 The <command>DROP PROCEDURAL LANGUAGE</command> statement is
108 a <productname>Postgres</productname> language extension.
112 <xref linkend="sql-createlanguage" endterm="sql-createlanguage-title">
113 for information on how to create procedural languages.
117 No checks are made if functions or trigger procedures registered
118 in this language still exist. To re-enable them without having
119 to drop and recreate all the functions, the pg_proc's prolang
120 attribute of the functions must be adjusted to the new object
121 ID of the recreated pg_language entry for the PL.
126 <refsect1 id="R1-SQL-DROPLANGUAGE-2">
131 This command removes the PL/Sample language:
134 DROP LANGUAGE plsample;
139 <refsect1 id="R1-SQL-DROPLANGUAGE-3">
144 <refsect2 id="R2-SQL-DROPLANGUAGE-5">
146 <date>1998-04-15</date>
152 There is no <command>DROP PROCEDURAL LANGUAGE</command> in
153 <acronym>SQL92</acronym>.
159 <!-- Keep this comment at the end of the file
164 sgml-minimize-attributes:nil
165 sgml-always-quote-attributes:t
168 sgml-parent-document:nil
169 sgml-default-dtd-file:"../reference.ced"
170 sgml-exposed-tags:nil
171 sgml-local-catalogs:"/usr/lib/sgml/catalog"
172 sgml-local-ecat-files:nil