{
    "mode": "man",
    "parameter": "DROP_EVENT_TRIGGER",
    "section": "7",
    "url": "https://www.chedong.com/phpMan.php/man/DROP_EVENT_TRIGGER/7/json",
    "generated": "2026-06-15T16:18:49Z",
    "synopsis": "DROP EVENT TRIGGER [ IF EXISTS ] name [ CASCADE | RESTRICT ]",
    "sections": {
        "NAME": {
            "content": "DROPEVENTTRIGGER - remove an event trigger\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "DROP EVENT TRIGGER [ IF EXISTS ] name [ CASCADE | RESTRICT ]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "DROP EVENT TRIGGER removes an existing event trigger. To execute this command, the current\nuser must be the owner of the event trigger.\n",
            "subsections": []
        },
        "PARAMETERS": {
            "content": "IF EXISTS\nDo not throw an error if the event trigger does not exist. A notice is issued in this\ncase.\n\nname\nThe name of the event trigger to remove.\n\nCASCADE\nAutomatically drop objects that depend on the trigger, and in turn all objects that\ndepend on those objects (see Section 5.14).\n\nRESTRICT\nRefuse to drop the trigger if any objects depend on it. This is the default.\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "Destroy the trigger snitch:\n\nDROP EVENT TRIGGER snitch;\n",
            "subsections": []
        },
        "COMPATIBILITY": {
            "content": "There is no DROP EVENT TRIGGER statement in the SQL standard.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "CREATE EVENT TRIGGER (CREATEEVENTTRIGGER(7)), ALTER EVENT TRIGGER (ALTEREVENTTRIGGER(7))\n\n\n\nPostgreSQL 14.23                                2026                           DROP EVENT TRIGGER(7)",
            "subsections": []
        }
    },
    "summary": "DROPEVENTTRIGGER - remove an event trigger",
    "flags": [],
    "examples": [
        "Destroy the trigger snitch:",
        "DROP EVENT TRIGGER snitch;"
    ],
    "see_also": [
        {
            "name": "CREATEEVENTTRIGGER",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/CREATEEVENTTRIGGER/7/json"
        },
        {
            "name": "ALTEREVENTTRIGGER",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/ALTEREVENTTRIGGER/7/json"
        },
        {
            "name": "TRIGGER",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/TRIGGER/7/json"
        }
    ]
}