SQL Reference Contents
drop language - remove a user-defined procedural language
drop procedural language 'lanname'
drop procedural language
will remove the definition of the previously registered PL with the name
lanname.
--
--this command removes the PL/Sample language
--
drop
procedural language 'plsample';
create language(l)
.
No checks
are made if functions or trigger procedures registered in this language
still exist. To reenable them without having to drop and recreate all the
functions, the pg_proc's prolang attribute of the functions must be adjusted
to the new object ID of the recreated pg_language entry for the PL.
Table of Contents