{
    "content": [
        {
            "type": "text",
            "text": "# ALTER_EVENT_TRIGGER (man)\n\n## NAME\n\nALTEREVENTTRIGGER - change the definition of an event trigger\n\n## SYNOPSIS\n\nALTER EVENT TRIGGER name DISABLE\nALTER EVENT TRIGGER name ENABLE [ REPLICA | ALWAYS ]\nALTER EVENT TRIGGER name OWNER TO { newowner | CURRENTROLE | CURRENTUSER | SESSIONUSER }\nALTER EVENT TRIGGER name RENAME TO newname\n\n## DESCRIPTION\n\nALTER EVENT TRIGGER changes properties of an existing event trigger.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **PARAMETERS**\n- **COMPATIBILITY**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ALTER_EVENT_TRIGGER",
        "section": "",
        "mode": "man",
        "summary": "ALTEREVENTTRIGGER - change the definition of an event trigger",
        "synopsis": "ALTER EVENT TRIGGER name DISABLE\nALTER EVENT TRIGGER name ENABLE [ REPLICA | ALWAYS ]\nALTER EVENT TRIGGER name OWNER TO { newowner | CURRENTROLE | CURRENTUSER | SESSIONUSER }\nALTER EVENT TRIGGER name RENAME TO newname",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "CREATEEVENTTRIGGER",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/CREATEEVENTTRIGGER/7/json"
            },
            {
                "name": "DROPEVENTTRIGGER",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/DROPEVENTTRIGGER/7/json"
            },
            {
                "name": "TRIGGER",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/TRIGGER/7/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "PARAMETERS",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "COMPATIBILITY",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ALTEREVENTTRIGGER - change the definition of an event trigger\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "ALTER EVENT TRIGGER name DISABLE\nALTER EVENT TRIGGER name ENABLE [ REPLICA | ALWAYS ]\nALTER EVENT TRIGGER name OWNER TO { newowner | CURRENTROLE | CURRENTUSER | SESSIONUSER }\nALTER EVENT TRIGGER name RENAME TO newname\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "ALTER EVENT TRIGGER changes properties of an existing event trigger.\n\nYou must be superuser to alter an event trigger.\n",
                "subsections": []
            },
            "PARAMETERS": {
                "content": "name\nThe name of an existing trigger to alter.\n\nnewowner\nThe user name of the new owner of the event trigger.\n\nnewname\nThe new name of the event trigger.\n\nDISABLE/ENABLE [ REPLICA | ALWAYS ]\nThese forms configure the firing of event triggers. A disabled trigger is still known to\nthe system, but is not executed when its triggering event occurs. See also\nsessionreplicationrole.\n",
                "subsections": []
            },
            "COMPATIBILITY": {
                "content": "There is no ALTER EVENT TRIGGER statement in the SQL standard.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "CREATE EVENT TRIGGER (CREATEEVENTTRIGGER(7)), DROP EVENT TRIGGER (DROPEVENTTRIGGER(7))\n\n\n\nPostgreSQL 14.23                                2026                          ALTER EVENT TRIGGER(7)",
                "subsections": []
            }
        }
    }
}