From deb7deda2661c86606b682b485c19315cef0eaeb Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Tue, 15 Jan 2008 18:22:47 +0000
Subject: [PATCH] Tweak new error message to conform to style guidelines.

---
 src/backend/tsearch/wparser.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/backend/tsearch/wparser.c b/src/backend/tsearch/wparser.c
index 5e8528b43c8..7a16d39fbe9 100644
--- a/src/backend/tsearch/wparser.c
+++ b/src/backend/tsearch/wparser.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *	  $PostgreSQL: pgsql/src/backend/tsearch/wparser.c,v 1.7 2008/01/15 17:16:01 teodor Exp $
+ *	  $PostgreSQL: pgsql/src/backend/tsearch/wparser.c,v 1.8 2008/01/15 18:22:47 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -309,10 +309,10 @@ ts_headline_byid_opt(PG_FUNCTION_ARGS)
 	cfg = lookup_ts_config_cache(PG_GETARG_OID(0));
 	prsobj = lookup_ts_parser_cache(cfg->prsId);
 
-	if ( !OidIsValid( prsobj->headlineOid ) )
+	if (!OidIsValid(prsobj->headlineOid))
 		ereport(ERROR, 
 				(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
-				errmsg("Text parser doesn't support headline creation")));
+				 errmsg("text search parser does not support headline creation")));
 
 	memset(&prs, 0, sizeof(HeadlineParsedText));
 	prs.lenwords = 32;
-- 
GitLab