{
    "mode": "man",
    "parameter": "DROP_TEXT_SEARCH_CONFIGURATION",
    "section": "7",
    "url": "https://www.chedong.com/phpMan.php/man/DROP_TEXT_SEARCH_CONFIGURATION/7/json",
    "generated": "2026-06-03T03:36:22Z",
    "synopsis": "DROP TEXT SEARCH CONFIGURATION [ IF EXISTS ] name [ CASCADE | RESTRICT ]",
    "sections": {
        "NAME": {
            "content": "DROPTEXTSEARCHCONFIGURATION - remove a text search configuration\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "DROP TEXT SEARCH CONFIGURATION [ IF EXISTS ] name [ CASCADE | RESTRICT ]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "DROP TEXT SEARCH CONFIGURATION drops an existing text search configuration. To execute this\ncommand you must be the owner of the configuration.\n",
            "subsections": []
        },
        "PARAMETERS": {
            "content": "IF EXISTS\nDo not throw an error if the text search configuration does not exist. A notice is issued\nin this case.\n\nname\nThe name (optionally schema-qualified) of an existing text search configuration.\n\nCASCADE\nAutomatically drop objects that depend on the text search configuration, and in turn all\nobjects that depend on those objects (see Section 5.14).\n\nRESTRICT\nRefuse to drop the text search configuration if any objects depend on it. This is the\ndefault.\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "Remove the text search configuration myenglish:\n\nDROP TEXT SEARCH CONFIGURATION myenglish;\n\nThis command will not succeed if there are any existing indexes that reference the\nconfiguration in totsvector calls. Add CASCADE to drop such indexes along with the text\nsearch configuration.\n",
            "subsections": []
        },
        "COMPATIBILITY": {
            "content": "There is no DROP TEXT SEARCH CONFIGURATION statement in the SQL standard.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "ALTER TEXT SEARCH CONFIGURATION (ALTERTEXTSEARCHCONFIGURATION(7)), CREATE TEXT SEARCH\nCONFIGURATION (CREATETEXTSEARCHCONFIGURATION(7))\n\n\n\nPostgreSQL 14.23                                2026               DROP TEXT SEARCH CONFIGURATION(7)",
            "subsections": []
        }
    },
    "summary": "DROPTEXTSEARCHCONFIGURATION - remove a text search configuration",
    "flags": [],
    "examples": [
        "Remove the text search configuration myenglish:",
        "DROP TEXT SEARCH CONFIGURATION myenglish;",
        "This command will not succeed if there are any existing indexes that reference the",
        "configuration in totsvector calls. Add CASCADE to drop such indexes along with the text",
        "search configuration."
    ],
    "see_also": [
        {
            "name": "ALTERTEXTSEARCHCONFIGURATION",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/ALTERTEXTSEARCHCONFIGURATION/7/json"
        },
        {
            "name": "CREATETEXTSEARCHCONFIGURATION",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/CREATETEXTSEARCHCONFIGURATION/7/json"
        },
        {
            "name": "CONFIGURATION",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/CONFIGURATION/7/json"
        }
    ]
}