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

Commit364ef51

Browse files
committed
Correct error messages
1 parentbcec1e6 commit364ef51

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("MinWordsmust be less than MaxWords")));
232+
errmsg("MinWordsshould 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("ShortWordhould be = 0")));
240+
errmsg("ShortWordshould be>= 0")));
241241
}
242242

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp