]> begriffs open source - ai-pg/blob - full-docs/txt/sql-droptsdictionary.txt
Convert HTML docs to more streamlined TXT
[ai-pg] / full-docs / txt / sql-droptsdictionary.txt
1
2 DROP TEXT SEARCH DICTIONARY
3
4    DROP TEXT SEARCH DICTIONARY — remove a text search dictionary
5
6 Synopsis
7
8 DROP TEXT SEARCH DICTIONARY [ IF EXISTS ] name [ CASCADE | RESTRICT ]
9
10 Description
11
12    DROP TEXT SEARCH DICTIONARY drops an existing text search dictionary.
13    To execute this command you must be the owner of the dictionary.
14
15 Parameters
16
17    IF EXISTS
18           Do not throw an error if the text search dictionary does not
19           exist. A notice is issued in this case.
20
21    name
22           The name (optionally schema-qualified) of an existing text
23           search dictionary.
24
25    CASCADE
26           Automatically drop objects that depend on the text search
27           dictionary, and in turn all objects that depend on those objects
28           (see Section 5.15).
29
30    RESTRICT
31           Refuse to drop the text search dictionary if any objects depend
32           on it. This is the default.
33
34 Examples
35
36    Remove the text search dictionary english:
37 DROP TEXT SEARCH DICTIONARY english;
38
39    This command will not succeed if there are any existing text search
40    configurations that use the dictionary. Add CASCADE to drop such
41    configurations along with the dictionary.
42
43 Compatibility
44
45    There is no DROP TEXT SEARCH DICTIONARY statement in the SQL standard.
46
47 See Also
48
49    ALTER TEXT SEARCH DICTIONARY, CREATE TEXT SEARCH DICTIONARY