ALTER LANGUAGE

ALTER LANGUAGE

7

SQL - Language Statements

ALTER LANGUAGE

change the definition of a procedural language

ALTER \[ PROCEDURAL \] LANGUAGE

name

RENAME TO

new\_name

ALTER \[ PROCEDURAL \] LANGUAGE

name

OWNER 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
==========

name

:   Name of a language

new\_name

:   The new name of the language

new\_owner

:   The new owner of the language

Compatibility
=============

There is no `ALTER LANGUAGE` statement in the SQL standard.

See Also
========
