Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita513ce2

Browse files
committed
Fix wrong NOTICE/ERROR levels
1 parentefe1d42 commita513ce2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎contrib/tsearch2/dict_thesaurus.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/contrib/tsearch2/dict_thesaurus.c,v 1.3 2006/06/0217:55:40 teodor Exp $ */
1+
/* $PostgreSQL: pgsql/contrib/tsearch2/dict_thesaurus.c,v 1.4 2006/06/0218:03:06 teodor Exp $ */
22

33
/*
44
* thesaurus
@@ -331,9 +331,9 @@ compileTheLexeme(DictThesaurus *d) {
331331

332332
if ( !(ptr&&ptr->lexeme) ) {
333333
if ( !ptr )
334-
elog(NOTICE,"Thesaurus: word '%s' isn't recognized by subdictionary",d->wrds[i].lexeme);
334+
elog(ERROR,"Thesaurus: word '%s' isn't recognized by subdictionary",d->wrds[i].lexeme);
335335
else
336-
elog(ERROR,"Thesaurus: word '%s' is recognized as stop-word, assign any stop-word",d->wrds[i].lexeme);
336+
elog(NOTICE,"Thesaurus: word '%s' is recognized as stop-word, assign any stop-word",d->wrds[i].lexeme);
337337

338338
newwrds=addCompiledLexeme(newwrds,&nnw,&tnm,NULL,d->wrds[i].entries,0);
339339
}else {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp