Removes a procedural language.
DROP [PROCEDURAL] LANGUAGE [IF EXISTS] <name> [CASCADE | RESTRICT]
DROP LANGUAGE will remove the definition of the previously registered procedural language <name>. You must have superuser privileges to drop a language.
(Optional, no effect) Indicates that this is a procedural language.
Do not throw an error if the language does not exist. A notice message is issued in this circumstance.
The name of an existing procedural language. The name may be enclosed by single quotes.
Automatically drop objects that depend on the language (for example, functions written in that language).
Refuse to drop the language if any objects depend on it. This is the default behavior.
Remove the procedural language
DROP LANGUAGE plsample;
DROP LANGUAGE is a HAWQ extension; there is no
DROP LANGUAGE statement in the SQL standard.