Skip to content

Commit deb7ded

Browse files
committed
Tweak new error message to conform to style guidelines.
1 parent f7807f1 commit deb7ded

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/tsearch/wparser.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/backend/tsearch/wparser.c,v 1.7 2008/01/15 17:16:01 teodor Exp $
10+
* $PostgreSQL: pgsql/src/backend/tsearch/wparser.c,v 1.8 2008/01/15 18:22:47 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -309,10 +309,10 @@ ts_headline_byid_opt(PG_FUNCTION_ARGS)
309309
cfg = lookup_ts_config_cache(PG_GETARG_OID(0));
310310
prsobj = lookup_ts_parser_cache(cfg->prsId);
311311

312-
if ( !OidIsValid( prsobj->headlineOid ) )
312+
if (!OidIsValid(prsobj->headlineOid))
313313
ereport(ERROR,
314314
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
315-
errmsg("Text parser doesn't support headline creation")));
315+
errmsg("text search parser does not support headline creation")));
316316

317317
memset(&prs, 0, sizeof(HeadlineParsedText));
318318
prs.lenwords = 32;

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