aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2003-08-13 14:41:59 +0000
committerTeodor Sigaev <teodor@sigaev.ru>2003-08-13 14:41:59 +0000
commit364ef5148495f2b7d656aa04643c61737510b66c (patch)
tree66c259e98f9da278c35b4f901a13ba19acc447f4
parentbcec1e617a8ab651559e25fbd396f4c365ca3432 (diff)
downloadpostgresql-364ef5148495f2b7d656aa04643c61737510b66c.tar.gz
postgresql-364ef5148495f2b7d656aa04643c61737510b66c.zip
Correct error messages
-rw-r--r--contrib/tsearch2/wparser_def.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tsearch2/wparser_def.c b/contrib/tsearch2/wparser_def.c
index 8937bbc49fe..f0f4cde9bbc 100644
--- a/contrib/tsearch2/wparser_def.c
+++ b/contrib/tsearch2/wparser_def.c
@@ -229,7 +229,7 @@ prsd_headline(PG_FUNCTION_ARGS)
if (min_words >= max_words)
ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
- errmsg("MinWords must be less than MaxWords")));
+ errmsg("MinWords should be less than MaxWords")));
if (min_words <= 0)
ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
@@ -237,7 +237,7 @@ prsd_headline(PG_FUNCTION_ARGS)
if (shortword < 0)
ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
- errmsg("ShortWord hould be = 0")));
+ errmsg("ShortWord should be >= 0")));
}
while (hlCover(prs, query, &p, &q))