aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2007-11-28 04:24:38 +0000
committerBruce Momjian <bruce@momjian.us>2007-11-28 04:24:38 +0000
commit43e082fc9849127c7bb5316a3baeaaf0ef4968f6 (patch)
treebe78e88b4df4064c4756e37ffdd915c6779cc8a1 /src
parenta54d3fb2e6ce3db9d0c3ad911ae6165e527b21f5 (diff)
downloadpostgresql-43e082fc9849127c7bb5316a3baeaaf0ef4968f6.tar.gz
postgresql-43e082fc9849127c7bb5316a3baeaaf0ef4968f6.zip
Change a stop word on the right-hand-side in the thesaurus file to be an
ERROR, not NOTICE.
Diffstat (limited to 'src')
-rw-r--r--src/backend/tsearch/dict_thesaurus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/tsearch/dict_thesaurus.c b/src/backend/tsearch/dict_thesaurus.c
index a1c77c6a348..5bf01c1b508 100644
--- a/src/backend/tsearch/dict_thesaurus.c
+++ b/src/backend/tsearch/dict_thesaurus.c
@@ -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
{