Development snapshot. PostgreSQL 20devel has not been released. Content may change.
ALTER LANGUAGE
ALTER LANGUAGE — change the definition of a procedural language
Synopsis
ALTER [ PROCEDURAL ] LANGUAGEnameRENAME TOnew_nameALTER [ PROCEDURAL ] LANGUAGEnameOWNER TO {new_owner| CURRENT_ROLE | CURRENT_USER | SESSION_USER }
Description
ALTER LANGUAGE changes the definition of a
procedural language. The only functionality is to rename the language or
assign a new owner. You must be superuser or owner of the language to
use ALTER LANGUAGE.
Parameters
nameName of a language
new_nameThe new name of the language
new_ownerThe new owner of the language
Compatibility
There is no ALTER LANGUAGE statement in the SQL
standard.
See Also
CREATE LANGUAGE, DROP LANGUAGEReport a documentation issue
Read the upstream documentation. For corrections, first check the current manual.