1ALTER LARGE OBJECT(7) PostgreSQL 16.1 Documentation ALTER LARGE OBJECT(7)
2
3
4
6 ALTER_LARGE_OBJECT - change the definition of a large object
7
9 ALTER LARGE OBJECT large_object_oid OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER }
10
12 ALTER LARGE OBJECT changes the definition of a large object.
13
14 You must own the large object to use ALTER LARGE OBJECT. To alter the
15 owner, you must also be able to SET ROLE to the new owning role.
16 (However, a superuser can alter any large object anyway.) Currently,
17 the only functionality is to assign a new owner, so both restrictions
18 always apply.
19
21 large_object_oid
22 OID of the large object to be altered
23
24 new_owner
25 The new owner of the large object
26
28 There is no ALTER LARGE OBJECT statement in the SQL standard.
29
31 Chapter 35
32
33
34
35PostgreSQL 16.1 2023 ALTER LARGE OBJECT(7)