summaryrefslogtreecommitdiff
path: root/contrib/tsearch2/query_cleanup.c
diff options
context:
space:
mode:
authorNeil Conway2006-03-01 06:30:32 +0000
committerNeil Conway2006-03-01 06:30:32 +0000
commit8e5a10d46c38976e40504456a5978caa53b77b3c (patch)
treeb94a9b7673f6c919ebacc3546f72032b8eb05657 /contrib/tsearch2/query_cleanup.c
parent87fa10a42613ee1ca9cc4bb22eb163f8e179b3f8 (diff)
This patch makes the error message strings throughout the backend
more compliant with the error message style guide. In particular, errdetail should begin with a capital letter and end with a period, whereas errmsg should not. I also fixed a few related issues in passing, such as fixing the repeated misspelling of "lexeme" in contrib/tsearch2 (per Tom's suggestion).
Diffstat (limited to 'contrib/tsearch2/query_cleanup.c')
-rw-r--r--contrib/tsearch2/query_cleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tsearch2/query_cleanup.c b/contrib/tsearch2/query_cleanup.c
index f56f7fbea3e..08d3ff219b5 100644
--- a/contrib/tsearch2/query_cleanup.c
+++ b/contrib/tsearch2/query_cleanup.c
@@ -246,7 +246,7 @@ clean_fakeval_v2(ITEM * ptr, int4 *len)
resroot = clean_fakeval_intree(root, &result);
if (result != V_UNKNOWN)
{
- elog(NOTICE, "Query contains only stopword(s) or doesn't contain lexem(s), ignored");
+ elog(NOTICE, "query contains only stopword(s) or doesn't contain lexeme(s), ignored");
*len = 0;
return NULL;
}