]> begriffs open source - ai-pg/blob - full-docs/txt/sql-alterlargeobject.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / sql-alterlargeobject.txt
1
2 ALTER LARGE OBJECT
3
4    ALTER LARGE OBJECT — change the definition of a large object
5
6 Synopsis
7
8 ALTER LARGE OBJECT large_object_oid OWNER TO { new_owner | CURRENT_ROLE | CURREN
9 T_USER | SESSION_USER }
10
11 Description
12
13    ALTER LARGE OBJECT changes the definition of a large object.
14
15    You must own the large object to use ALTER LARGE OBJECT. To alter the
16    owner, you must also be able to SET ROLE to the new owning role.
17    (However, a superuser can alter any large object anyway.) Currently,
18    the only functionality is to assign a new owner, so both restrictions
19    always apply.
20
21 Parameters
22
23    large_object_oid
24           OID of the large object to be altered
25
26    new_owner
27           The new owner of the large object
28
29 Compatibility
30
31    There is no ALTER LARGE OBJECT statement in the SQL standard.
32
33 See Also
34
35    Chapter 33