DROP_TEXT_SEARCH_DICTIONARY(7pg16)

πŸ“¦ version 16.15, in opensuse-leap 16.0

hii bestie πŸ’– this is the DROP TEXT SEARCH DICTIONARY manual page β€” manual name DROP TEX...ICTIONARY(7), and if your tab says DROP_TEXT_SEARCH_DICTIONARY(7pg16), yep, same page, you're in the right place 🫢

🌸 NAME 🌸

DROP_TEXT_SEARCH_DICTIONARY β€” remove a text search dictionary ✨

✨ SYNOPSIS ✨

DROP TEXT SEARCH DICTIONARY [ IF EXISTS ] name [ CASCADE | RESTRICT ]

πŸ’… DESCRIPTION πŸ’…

okay so DROP TEXT SEARCH DICTIONARY drops an existing text search dictionary. To execute this command you must be the owner of the dictionary. Like, owner energy only πŸ‘‘.

πŸŽ€ PARAMETERS πŸŽ€

  • IF EXISTS β€” do not throw an error if the text search dictionary does not exist. A notice is issued in this case. Graceful missing-dictionary moment, we love to see it 🌸.
  • name β€” the name (optionally schema-qualified) of an existing text search dictionary. Yes, schema-qualified is allowed, iykyk ✨.
  • CASCADE β€” automatically drop objects that depend on the text search dictionary, and in turn all objects that depend on those objects (see Section 5.14). Chain-reaction slay πŸ”₯.
  • RESTRICT β€” refuse to drop the text search dictionary if any objects depend on it. This is the default. Safety-girlie default behavior πŸ’….

πŸ¦‹ 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.

🌈 COMPATIBILITY 🌈

There is no DROP TEXT SEARCH DICTIONARY statement in the SQL standard. The SQL standard is literally not giving this statement, periodt πŸ™ˆ.

πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ that's the whole page β€” source/version: PostgreSQL 16.15 documentation, date: 2026, manual tag: DROP TEX...ICTIONARY(7). byeee bestie, go drop (or not drop) responsibly 🫢✨

πŸ“¦ where this page comes from