ALTER_LARGE_OBJECT(7pg15)

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

πŸŽ€ 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