projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03f5d67
)
Change a stop word on the right-hand-side in the thesaurus file to be an
author
Bruce Momjian
<bruce@momjian.us>
Wed, 28 Nov 2007 04:24:38 +0000
(
04:24
+0000)
committer
Bruce Momjian
<bruce@momjian.us>
Wed, 28 Nov 2007 04:24:38 +0000
(
04:24
+0000)
ERROR, not NOTICE.
src/backend/tsearch/dict_thesaurus.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/tsearch/dict_thesaurus.c
b/src/backend/tsearch/dict_thesaurus.c
index f3fedade9d3a5794b59337294a243e8f62241869..ebd75ca5578f2d997fbdbf2d53a8480b9a2d00a4 100644
(file)
--- a/
src/backend/tsearch/dict_thesaurus.c
+++ b/
src/backend/tsearch/dict_thesaurus.c
@@
-570,7
+570,7
@@
compileTheSubstitute(DictThesaurus *d)
}
else if (lexized)
{
- elog(
NOTICE, "thesaurus word \"%s\" in substitution is a stop-word, ignore
d (rule %d)", inptr->lexeme, i + 1);
+ elog(
ERROR, "thesaurus word \"%s\" in substitution is a stop-wor
d (rule %d)", inptr->lexeme, i + 1);
}
else
{