1DROP TEXT SEARCH CONFIGURATION(7)SQL CommandsDROP TEXT SEARCH CONFIGURATION(7)
2
3
4

NAME

6       DROP TEXT SEARCH CONFIGURATION - remove a text search configuration
7
8

SYNOPSIS

10       DROP TEXT SEARCH CONFIGURATION [ IF EXISTS ] name [ CASCADE | RESTRICT ]
11
12

DESCRIPTION

14       DROP TEXT SEARCH CONFIGURATION drops an existing text search configura‐
15       tion. To execute this command you must be the owner of  the  configura‐
16       tion.
17

PARAMETERS

19       IF EXISTS
20              Do  not throw an error if the text search configuration does not
21              exist.  A notice is issued in this case.
22
23       name   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 con‐
28              figuration.
29
30       RESTRICT
31              Refuse to drop the text  search  configuration  if  any  objects
32              depend on it.  This is the default.
33

EXAMPLES

35       Remove the text search configuration my_english:
36
37       DROP TEXT SEARCH CONFIGURATION my_english;
38
39       This  command  will  not succeed if there are any existing indexes that
40       reference the configuration in to_tsvector calls.  Add CASCADE to  drop
41       such indexes along with the text search configuration.
42

COMPATIBILITY

44       There  is  no DROP TEXT SEARCH CONFIGURATION statement in the SQL stan‐
45       dard.
46

SEE ALSO

48       ALTER TEXT SEARCH  CONFIGURATION  [alter_text_search_configuration(7)],
49       CREATE TEXT SEARCH CONFIGURATION [create_text_search_configuration(7)]
50
51
52
53SQL - Language Statements         2011-09-22 DROP TEXT SEARCH CONFIGURATION(7)
Impressum