DROP_TEXT_SEARCH_DICTIONARY(7pg14)
πΈ NAME πΈ
okay so this is the DROP_TEXT_SEARCH_DICTIONARY(7pg14) page, and bestie, it's literally about one thing: removing a text search dictionary. That's it. That's the vibe. DROP TEXT SEARCH DICTIONARY β remove a text search dictionary. periodt π
β¨ SYNOPSIS β¨
DROP TEXT SEARCH DICTIONARY [ IF EXISTS ] name [ CASCADE | RESTRICT ]
π¦ DESCRIPTION π¦
DROP TEXT SEARCH DICTIONARY drops an existing text search dictionary. iconic behavior, honestly. But listen: to execute this command, you must be the owner of the dictionary. no cap. π
π PARAMETERS π
IF EXISTSβ do not throw an error if the text search dictionary does not exist. A notice is issued in this case. so it's like, "bestie, it's already gone, we're fine" πnameβ the name of an existing text search dictionary, optionally schema-qualified. yes, you can bring the schema along. π«ΆCASCADEβ automatically drop objects that depend on the text search dictionary, and in turn all objects that depend on those objects (seeSection 5.14). it's giving chain reaction. π₯RESTRICTβ refuse to drop the text search dictionary if any objects depend on it. This is the default. so if you don't say anything, it's lowkey protective. π‘οΈ
π EXAMPLES π
Remove the text search dictionary english:
DROP TEXT SEARCH DICTIONARY english;
This command will not succeed if there are any existing text search configurations that use the dictionary. Add CASCADE to drop such configurations along with the dictionary. like, it's not being dramatic, it's just how it works π
π COMPATIBILITY π
There is no DROP TEXT SEARCH DICTIONARY statement in the SQL standard. ngl, that's the compatibility tea. π΅
β SEE ALSO β
ALTER TEXT SEARCH DICTIONARY(ALTER_TEXT_SEARCH_DICTIONARY(7))CREATE TEXT SEARCH DICTIONARY(CREATE_TEXT_SEARCH_DICTIONARY(7))
π cute little sign-off: this page is from PostgreSQL 14.24, dated 2026 β mwah, slay, bye bestie π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms