ALTER_LANGUAGE(7pg15)
πΈ NAME πΈ
ALTER_LANGUAGE β change the definition of a procedural language. this is the ALTER LANGUAGE(7pg15) page from the PostgreSQL 15.19 Documentation, bestie π.
β¨ SYNOPSIS β¨
ALTER [ PROCEDURAL ] LANGUAGE name RENAME TO new_name
ALTER [ PROCEDURAL ] LANGUAGE name OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER }
π DESCRIPTION π
okay so ALTER LANGUAGE changes the definition of a procedural language. that's the whole vibe. the only functionality is to rename the language or assign a new owner β no secret extra menu, no hidden features, periodt β¨.
you must be superuser or owner of the language to use ALTER LANGUAGE. so yeah, permissions check first, bestie π«Ά.
π PARAMETERS π
nameβ name of a language. iconic identifier energy π .new_nameβ the new name of the language. glow-up name, literally π.new_ownerβ the new owner of the language. hand over the keys π.
π COMPATIBILITY π
there is no ALTER LANGUAGE statement in the SQL standard. not a thing. the standard said βwho?β π.
π¦ SEE ALSO π¦
CREATE LANGUAGE(CREATE_LANGUAGE(7))DROP LANGUAGE(DROP_LANGUAGE(7))
mwah π β from PostgreSQL 15.19, dated 2026, page ALTER LANGUAGE(7). that's the whole page, ily bye! π
π¦ where this page comes from
- opensuse-leap 16.0: postgresql15 15.19-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql15 15.19-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql15 15.19-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql15 15.19-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms