ALTER_LANGUAGE(7pg13)
β¨ NAME β¨
okay so bestie, welcome to the ALTER LANGUAGE page from the PostgreSQL 13.23 Documentation β yes, thatβs the manual name, itβs literally right there in the group chat π«Ά This one is all about changing the definition of a procedural language. slay.
πΈ SYNOPSIS πΈ
ALTER [ PROCEDURAL ] LANGUAGE name RENAME TO new_name
ALTER [ PROCEDURAL ] LANGUAGE name OWNER TO { new_owner | CURRENT_USER | SESSION_USER }
π DESCRIPTION π
ALTER LANGUAGE changes the definition of a procedural language. like, it is not doing a million things: the only functionality is to rename the language or assign a new owner. thatβs it, thatβs the main character energy π
permission check, no cap: 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. so if youβre looking for it in the standard, bestie, itβs not there π
π¦ SEE ALSO π¦
CREATE LANGUAGE(CREATE_LANGUAGE(7)) β the origin story πDROP LANGUAGE(DROP_LANGUAGE(7)) β the goodbye era π
sign-off era: this page is from PostgreSQL 13.23, dated 2025. mwah π
π¦ where this page comes from
- opensuse-leap 16.0: postgresql13 13.23-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql13 13.23-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql13 13.23-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql13 13.23-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