From 3e3bb36ee9122fdb211cb08575d6837f8ab522cc Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 21 Aug 2007 21:08:47 +0000 Subject: First rough cut at text search documentation: bare bones reference pages for the new SQL commands. I also committed Bruce's text search introductory chapter, as-is except for fixing some markup errors, so that there would be a place for the reference pages to link to. --- doc/src/sgml/ref/drop_tsparser.sgml | 115 ++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 doc/src/sgml/ref/drop_tsparser.sgml (limited to 'doc/src/sgml/ref/drop_tsparser.sgml') diff --git a/doc/src/sgml/ref/drop_tsparser.sgml b/doc/src/sgml/ref/drop_tsparser.sgml new file mode 100644 index 00000000000..7a482283ada --- /dev/null +++ b/doc/src/sgml/ref/drop_tsparser.sgml @@ -0,0 +1,115 @@ + + + + + DROP TEXT SEARCH PARSER + SQL - Language Statements + + + + DROP TEXT SEARCH PARSER + remove a text search parser + + + + DROP TEXT SEARCH PARSER + + + + +DROP TEXT SEARCH PARSER [ IF EXISTS ] name [ CASCADE | RESTRICT ] + + + + + Description + + + DROP TEXT SEARCH PARSER drops an existing text search + parser. You must be a superuser to use this command. + + + + + Parameters + + + + + IF EXISTS + + + Do not throw an error if the text search parser does not exist. + A notice is issued in this case. + + + + + + name + + + The name (optionally schema-qualified) of an existing text search parser. + + + + + + CASCADE + + + Automatically drop objects that depend on the text search parser. + + + + + + RESTRICT + + + Refuse to drop the text search parser if any objects depend on it. + This is the default. + + + + + + + + Examples + + + Remove the text search parser my_parser: + + +DROP TEXT SEARCH PARSER my_parser; + + + This command will not succeed if there are any existing text search + configurations that use the parser. Add CASCADE to + drop such configurations along with the parser. + + + + + Compatibility + + + There is no DROP TEXT SEARCH PARSER statement in the + SQL standard. + + + + + See Also + + + + + + + + -- cgit v1.2.3