From: Teodor Sigaev Date: Wed, 13 Aug 2003 14:41:59 +0000 (+0000) Subject: Correct error messages X-Git-Tag: REL7_4_BETA2~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=364ef5148495f2b7d656aa04643c61737510b66c;p=postgresql Correct error messages --- diff --git a/contrib/tsearch2/wparser_def.c b/contrib/tsearch2/wparser_def.c index 8937bbc49f..f0f4cde9bb 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))