3 PostgreSQL documentation
6 <refentry id=
"SQL-ALTERLANGUAGE">
8 <refentrytitle id=
"SQL-ALTERLANGUAGE-title">ALTER LANGUAGE
</refentrytitle>
9 <manvolnum>7</manvolnum>
10 <refmiscinfo>SQL - Language Statements
</refmiscinfo>
14 <refname>ALTER LANGUAGE
</refname>
15 <refpurpose>change the definition of a procedural language
</refpurpose>
18 <indexterm zone=
"sql-alterlanguage">
19 <primary>ALTER LANGUAGE
</primary>
24 ALTER [ PROCEDURAL ] LANGUAGE
<replaceable>name
</replaceable> RENAME TO
<replaceable>newname
</replaceable>
25 ALTER [ PROCEDURAL ] LANGUAGE
<replaceable>name
</replaceable> OWNER TO
<replaceable>new_owner
</replaceable>
30 <title>Description
</title>
33 <command>ALTER LANGUAGE
</command> changes the definition of a
34 procedural language. The only functionality is to rename the language or
35 assign a new owner. You must be superuser or owner of the language to
36 use
<command>ALTER LANGUAGE
</command>.
41 <title>Parameters
</title>
45 <term><replaceable>name
</replaceable></term>
54 <term><replaceable>newname
</replaceable></term>
57 The new name of the language
63 <term><replaceable>new_owner
</replaceable></term>
66 The new owner of the language
74 <title>Compatibility
</title>
77 There is no
<command>ALTER LANGUAGE
</command> statement in the SQL
83 <title>See Also
</title>
85 <simplelist type=
"inline">
86 <member><xref linkend=
"sql-createlanguage" endterm=
"sql-createlanguage-title"></member>
87 <member><xref linkend=
"sql-droplanguage" endterm=
"sql-droplanguage-title"></member>