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