SQL Reference Contents

NAME

drop language - remove a user-defined procedural language

SYNOPSIS

drop procedural language 'lanname'

DESCRIPTION

drop procedural language will remove the definition of the previously registered PL with the name lanname.

EXAMPLE

--
--this command removes the PL/Sample language
--
drop procedural language 'plsample';

SEE ALSO

create language(l) .

BUGS

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