{
    "mode": "man",
    "parameter": "ALTER_LARGE_OBJECT",
    "section": "7",
    "url": "https://www.chedong.com/phpMan.php/man/ALTER_LARGE_OBJECT/7/json",
    "generated": "2026-06-16T10:12:10Z",
    "synopsis": "ALTER LARGE OBJECT largeobjectoid OWNER TO { newowner | CURRENTROLE | CURRENTUSER | SESSIONUSER }",
    "sections": {
        "NAME": {
            "content": "ALTERLARGEOBJECT - change the definition of a large object\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "ALTER LARGE OBJECT largeobjectoid OWNER TO { newowner | CURRENTROLE | CURRENTUSER | SESSIONUSER }\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "ALTER LARGE OBJECT changes the definition of a large object.\n\nYou must own the large object to use ALTER LARGE OBJECT. To alter the owner, you must also be\na direct or indirect member of the new owning role. (However, a superuser can alter any large\nobject anyway.) Currently, the only functionality is to assign a new owner, so both\nrestrictions always apply.\n",
            "subsections": []
        },
        "PARAMETERS": {
            "content": "largeobjectoid\nOID of the large object to be altered\n\nnewowner\nThe new owner of the large object\n",
            "subsections": []
        },
        "COMPATIBILITY": {
            "content": "There is no ALTER LARGE OBJECT statement in the SQL standard.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Chapter 35\n\n\n\nPostgreSQL 14.23                                2026                           ALTER LARGE OBJECT(7)",
            "subsections": []
        }
    },
    "summary": "ALTERLARGEOBJECT - change the definition of a large object",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "OBJECT",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/OBJECT/7/json"
        }
    ]
}