projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8f6316
)
Tweak new error message to conform to style guidelines.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 15 Jan 2008 18:22:47 +0000
(18:22 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Tue, 15 Jan 2008 18:22:47 +0000
(18:22 +0000)
src/backend/tsearch/wparser.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/tsearch/wparser.c
b/src/backend/tsearch/wparser.c
index a6df6034435e5135a92b347e2e26bfffb4123244..996d3bcc2631704ff9f00718d04fe5f9832df3e5 100644
(file)
--- a/
src/backend/tsearch/wparser.c
+++ b/
src/backend/tsearch/wparser.c
@@
-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 no
t support headline creation")));
memset(&prs, 0, sizeof(HeadlineParsedText));
prs.lenwords = 32;