Change a stop word on the right-hand-side in the thesaurus file to be an
authorBruce Momjian <bruce@momjian.us>
Wed, 28 Nov 2007 04:24:38 +0000 (04:24 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 28 Nov 2007 04:24:38 +0000 (04:24 +0000)
ERROR, not NOTICE.

src/backend/tsearch/dict_thesaurus.c

index a1c77c6a34873c5fef4aff7a4ae4f3efd7854034..5bf01c1b5080ea8b4902cb548d13d32642d16ff8 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *   $PostgreSQL: pgsql/src/backend/tsearch/dict_thesaurus.c,v 1.8 2007/11/15 22:25:16 momjian Exp $
+ *   $PostgreSQL: pgsql/src/backend/tsearch/dict_thesaurus.c,v 1.9 2007/11/28 04:24:38 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -570,7 +570,7 @@ compileTheSubstitute(DictThesaurus *d)
            }
            else if (lexized)
            {
-               elog(NOTICE, "thesaurus word \"%s\" in substitution is a stop-word, ignored (rule %d)", inptr->lexeme, i + 1);
+               elog(ERROR, "thesaurus word \"%s\" in substitution is a stop-word (rule %d)", inptr->lexeme, i + 1);
            }
            else
            {