{
    "content": [
        {
            "type": "text",
            "text": "# DROP_TEXT_SEARCH_PARSER (man)\n\n## NAME\n\nDROPTEXTSEARCHPARSER - remove a text search parser\n\n## SYNOPSIS\n\nDROP TEXT SEARCH PARSER [ IF EXISTS ] name [ CASCADE | RESTRICT ]\n\n## DESCRIPTION\n\nDROP TEXT SEARCH PARSER drops an existing text search parser. You must be a superuser to use\nthis command.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **PARAMETERS**\n- **EXAMPLES**\n- **COMPATIBILITY**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "DROP_TEXT_SEARCH_PARSER",
        "section": "",
        "mode": "man",
        "summary": "DROPTEXTSEARCHPARSER - remove a text search parser",
        "synopsis": "DROP TEXT SEARCH PARSER [ IF EXISTS ] name [ CASCADE | RESTRICT ]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [
            "Remove the text search parser myparser:",
            "DROP TEXT SEARCH PARSER myparser;",
            "This command will not succeed if there are any existing text search configurations that use",
            "the parser. Add CASCADE to drop such configurations along with the parser."
        ],
        "see_also": [
            {
                "name": "ALTERTEXTSEARCHPARSER",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/ALTERTEXTSEARCHPARSER/7/json"
            },
            {
                "name": "CREATETEXTSEARCHPARSER",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/CREATETEXTSEARCHPARSER/7/json"
            },
            {
                "name": "PARSER",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/PARSER/7/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "PARAMETERS",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "COMPATIBILITY",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "DROPTEXTSEARCHPARSER - remove a text search parser\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "DROP TEXT SEARCH PARSER [ IF EXISTS ] name [ CASCADE | RESTRICT ]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "DROP TEXT SEARCH PARSER drops an existing text search parser. You must be a superuser to use\nthis command.\n",
                "subsections": []
            },
            "PARAMETERS": {
                "content": "IF EXISTS\nDo not throw an error if the text search parser does not exist. A notice is issued in\nthis case.\n\nname\nThe name (optionally schema-qualified) of an existing text search parser.\n\nCASCADE\nAutomatically drop objects that depend on the text search parser, and in turn all objects\nthat depend on those objects (see Section 5.14).\n\nRESTRICT\nRefuse to drop the text search parser if any objects depend on it. This is the default.\n",
                "subsections": []
            },
            "EXAMPLES": {
                "content": "Remove the text search parser myparser:\n\nDROP TEXT SEARCH PARSER myparser;\n\nThis command will not succeed if there are any existing text search configurations that use\nthe parser. Add CASCADE to drop such configurations along with the parser.\n",
                "subsections": []
            },
            "COMPATIBILITY": {
                "content": "There is no DROP TEXT SEARCH PARSER statement in the SQL standard.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "ALTER TEXT SEARCH PARSER (ALTERTEXTSEARCHPARSER(7)), CREATE TEXT SEARCH PARSER\n(CREATETEXTSEARCHPARSER(7))\n\n\n\nPostgreSQL 14.23                                2026                      DROP TEXT SEARCH PARSER(7)",
                "subsections": []
            }
        }
    }
}