January 2002
Intermediate to advanced
640 pages
16h 39m
English
Removes a procedural language from a database.
DROP [ PROCEDURAL ] LANGUAGE 'name'nameThe name of the existing language you wish to remove from the database.
DROPThe message returned if the language is successfully removed without error.
ERROR: Language "name"
doesn’t existThe error returned if the language you specify does not exist within the database.
Use the DROP PROCEDURAL LANGUAGE command to remove the definition of
the procedural language named name.
DROP LANGUAGE does not check to make sure that functions and triggers
you have registered for use with this language have been removed. Be sure that no existing
functions in your database rely on a language before dropping it.
The following example removes the plexample language from the booktown database:
booktown=# DROP PROCEDURAL LANGUAGE 'plexample';
DROP