ALTER_LARGE_OBJECT(7pg15)
π NAME π
okay bestie, welcome to ALTER_LARGE_OBJECT β the PostgreSQL 15.19 manual page for ALTER LARGE OBJECT(7), and its whole thing is: change the definition of a large object. That's the assignment. That's the vibe. π
β¨ SYNOPSIS β¨
ALTER LARGE OBJECT large_object_oid OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER }
π¦ DESCRIPTION π¦
okay so ALTER LARGE OBJECT changes the definition of a large object. Lowkey straightforward, highkey iconic. π
You must own the large object to use ALTER LARGE OBJECT. To alter the owner, you must also be a direct or indirect member of the new owning role. (However, a superuser can alter any large object anyway. π) Currently, the only functionality is to assign a new owner, so both restrictions always apply. No cap.
πΈ PARAMETERS πΈ
large_object_oidβ OID of the large object to be altered. It's giving "ID tag for the object getting a glow-up" π·οΈ.new_ownerβ the new owner of the large object. Handing over the keys, fr fr π.
π COMPATIBILITY π
There is no ALTER LARGE OBJECT statement in the SQL standard. Not me checking the SQL standard and finding zero crumbs. π
π₯ SEE ALSO π₯
- Chapter 35 β that's the reference bestie, go read it π.
later bestie! This was the ALTER LARGE OBJECT(7) page from PostgreSQL 15.19, dated 2026. Mwah ππ
π¦ 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