1DROP TEXT SEARCH TEMPLATE(P7o)stgreSQL 15.4 DocumentatDiRoOnP TEXT SEARCH TEMPLATE(7)
2
3
4

NAME

6       DROP_TEXT_SEARCH_TEMPLATE - remove a text search template
7

SYNOPSIS

9       DROP TEXT SEARCH TEMPLATE [ IF EXISTS ] name [ CASCADE | RESTRICT ]
10

DESCRIPTION

12       DROP TEXT SEARCH TEMPLATE drops an existing text search template. You
13       must be a superuser to use this command.
14

PARAMETERS

16       IF EXISTS
17           Do not throw an error if the text search template does not exist. A
18           notice is issued in this case.
19
20       name
21           The name (optionally schema-qualified) of an existing text search
22           template.
23
24       CASCADE
25           Automatically drop objects that depend on the text search template,
26           and in turn all objects that depend on those objects (see
27           Section 5.14).
28
29       RESTRICT
30           Refuse to drop the text search template if any objects depend on
31           it. This is the default.
32

EXAMPLES

34       Remove the text search template thesaurus:
35
36           DROP TEXT SEARCH TEMPLATE thesaurus;
37
38       This command will not succeed if there are any existing text search
39       dictionaries that use the template. Add CASCADE to drop such
40       dictionaries along with the template.
41

COMPATIBILITY

43       There is no DROP TEXT SEARCH TEMPLATE statement in the SQL standard.
44

SEE ALSO

46       ALTER TEXT SEARCH TEMPLATE (ALTER_TEXT_SEARCH_TEMPLATE(7)), CREATE TEXT
47       SEARCH TEMPLATE (CREATE_TEXT_SEARCH_TEMPLATE(7))
48
49
50
51PostgreSQL 15.4                      2023         DROP TEXT SEARCH TEMPLATE(7)
Impressum