summaryrefslogtreecommitdiff
path: root/contrib/tsearch2/query_rewrite.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2006-03-01 06:30:32 +0000
committerNeil Conway <neilc@samurai.com>2006-03-01 06:30:32 +0000
commit8e5a10d46c38976e40504456a5978caa53b77b3c (patch)
treeb94a9b7673f6c919ebacc3546f72032b8eb05657 /contrib/tsearch2/query_rewrite.c
parent87fa10a42613ee1ca9cc4bb22eb163f8e179b3f8 (diff)
downloadpostgresql-8e5a10d46c38976e40504456a5978caa53b77b3c.tar.gz
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_rewrite.c')
-rw-r--r--contrib/tsearch2/query_rewrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tsearch2/query_rewrite.c b/contrib/tsearch2/query_rewrite.c
index f1faaf8778..1c3121aa85 100644
--- a/contrib/tsearch2/query_rewrite.c
+++ b/contrib/tsearch2/query_rewrite.c
@@ -220,7 +220,7 @@ get_tsq_Oid(void)
if (SPI_processed < 0)
/* internal error */
- elog(ERROR, "There is no tsvector type");
+ elog(ERROR, "there is no tsvector type");
tsqOid = DatumGetObjectId(SPI_getbinval(SPI_tuptable->vals[0], SPI_tuptable->tupdesc, 1, &isnull));
if (tsqOid == InvalidOid)
/* internal error */