File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* 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 $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -309,10 +309,10 @@ ts_headline_byid_opt(PG_FUNCTION_ARGS)
309
309
cfg = lookup_ts_config_cache(PG_GETARG_OID(0));
310
310
prsobj = lookup_ts_parser_cache(cfg->prsId);
311
311
312
- if ( !OidIsValid( prsobj->headlineOid ) )
312
+ if (!OidIsValid(prsobj->headlineOid) )
313
313
ereport(ERROR,
314
314
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
315
- errmsg("Text parser doesn't support headline creation")));
315
+ errmsg("text search parser does not support headline creation")));
316
316
317
317
memset(&prs, 0, sizeof(HeadlineParsedText));
318
318
prs.lenwords = 32;
You can’t perform that action at this time.
0 commit comments