8000 Correct error messages · jandas/postgres@364ef51 · GitHub
[go: up one dir, main page]

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

Appearance settings

Commit 364ef51

Browse files
committed
Correct error messages
1 parent bcec1e6 commit 364ef51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/tsearch2/wparser_def.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,15 +229,15 @@ prsd_headline(PG_FUNCTION_ARGS)
229229
if (min_words >= max_words)
230230
ereport(ERROR,
231231
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
232-
errmsg("MinWords must be less than MaxWords")));
232+
errmsg("MinWords should be less than MaxWords")));
233233
if (min_words <= 0)
234234
ereport(ERROR,
235235
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
236236
errmsg("MinWords should be positive")));
237237
if (shortword < 0)
238238
ereport(ERROR,
239239
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
240-
errmsg("ShortWord hould be = 0")));
240+
errmsg("ShortWord should be >= 0")));
241241
}
242242

243243
while (hlCover(prs, query, &p, &q))

0 commit comments

Comments
 (0)
0