Skip to content

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy