ALTER_LANGUAGE(7pg15)

πŸ“¦ version 15.19, in opensuse-leap 16.0

🌸 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 πŸ¦‹


mwah πŸ’‹ β€” from PostgreSQL 15.19, dated 2026, page ALTER LANGUAGE(7). that's the whole page, ily bye! πŸŽ€

πŸ“¦ where this page comes from