Change a couple of examples to say ALTER MAPPING instead of ADD MAPPING,
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 13 Dec 2007 06:32:47 +0000 (06:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 13 Dec 2007 06:32:47 +0000 (06:32 +0000)
per Oleg.

doc/src/sgml/textsearch.sgml

index a4f1d3d89ce5faed91a7b805ec61dd0dbd5ba98b..f70dae65ffda391d6ae46251d8de3e29bfe5102b 100644 (file)
@@ -2376,7 +2376,7 @@ CREATE TEXT SEARCH DICTIONARY thesaurus_simple (
 
 <programlisting>
 ALTER TEXT SEARCH CONFIGURATION russian
-    ADD MAPPING FOR asciiword, asciihword, hword_asciipart WITH thesaurus_simple;
+    ALTER MAPPING FOR asciiword, asciihword, hword_asciipart WITH thesaurus_simple;
 </programlisting>
    </para>
 
@@ -2405,7 +2405,7 @@ CREATE TEXT SEARCH DICTIONARY thesaurus_astro (
 );
 
 ALTER TEXT SEARCH CONFIGURATION russian
-    ADD MAPPING FOR asciiword, asciihword, hword_asciipart WITH thesaurus_astro, english_stem;
+    ALTER MAPPING FOR asciiword, asciihword, hword_asciipart WITH thesaurus_astro, english_stem;
 </programlisting>
 
     Now we can see how it works.