1ALTER LARGE OBJECT(7)    PostgreSQL 15.4 Documentation   ALTER LARGE OBJECT(7)
2
3
4

NAME

6       ALTER_LARGE_OBJECT - change the definition of a large object
7

SYNOPSIS

9       ALTER LARGE OBJECT large_object_oid OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER }
10

DESCRIPTION

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 a direct or indirect member of the new owning
16       role. (However, a superuser can alter any large object anyway.)
17       Currently, the only functionality is to assign a new owner, so both
18       restrictions always apply.
19

PARAMETERS

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

COMPATIBILITY

28       There is no ALTER LARGE OBJECT statement in the SQL standard.
29

SEE ALSO

31       Chapter 35
32
33
34
35PostgreSQL 15.4                      2023                ALTER LARGE OBJECT(7)
Impressum