diff options
author | Teodor Sigaev <teodor@sigaev.ru> | 2006-06-02 18:03:06 +0000 |
---|---|---|
committer | Teodor Sigaev <teodor@sigaev.ru> | 2006-06-02 18:03:06 +0000 |
commit | a513ce2dff1b0a7a3d49f6b29fcced0bbbba6da9 (patch) | |
tree | 9d3db9ce76987c6e609ab839323cc192c7e1f97f | |
parent | efe1d427dae112328205960d47b0ef918c36fea7 (diff) |
Fix wrong NOTICE/ERROR levels
-rw-r--r-- | contrib/tsearch2/dict_thesaurus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/tsearch2/dict_thesaurus.c b/contrib/tsearch2/dict_thesaurus.c index 7138a1dc7df..f051ba19544 100644 --- a/contrib/tsearch2/dict_thesaurus.c +++ b/contrib/tsearch2/dict_thesaurus.c @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/contrib/tsearch2/dict_thesaurus.c,v 1.3 2006/06/02 17:55:40 teodor Exp $ */ +/* $PostgreSQL: pgsql/contrib/tsearch2/dict_thesaurus.c,v 1.4 2006/06/02 18:03:06 teodor Exp $ */ /* * thesaurus @@ -331,9 +331,9 @@ compileTheLexeme(DictThesaurus *d) { if ( !(ptr && ptr->lexeme) ) { if ( !ptr ) - elog(NOTICE,"Thesaurus: word '%s' isn't recognized by subdictionary", d->wrds[i].lexeme); + elog(ERROR,"Thesaurus: word '%s' isn't recognized by subdictionary", d->wrds[i].lexeme); else - elog(ERROR,"Thesaurus: word '%s' is recognized as stop-word, assign any stop-word", d->wrds[i].lexeme); + elog(NOTICE,"Thesaurus: word '%s' is recognized as stop-word, assign any stop-word", d->wrds[i].lexeme); newwrds = addCompiledLexeme( newwrds, &nnw, &tnm, NULL, d->wrds[i].entries, 0); } else { |