aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2012-05-02 20:14:39 +0300
committerPeter Eisentraut <peter_e@gmx.net>2012-05-02 20:56:03 +0300
commite9605a039b60350003daf8a5b3c0c10993994b60 (patch)
tree60e2e0e89f437474e6949d8b4050dd02b0cee977 /src/backend
parent003811042139790a5a479c8264271a3248eda36f (diff)
downloadpostgresql-e9605a039b60350003daf8a5b3c0c10993994b60.tar.gz
postgresql-e9605a039b60350003daf8a5b3c0c10993994b60.zip
Even more duplicate word removal, in the spirit of the season
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/tsearch/wparser_def.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/tsearch/wparser_def.c b/src/backend/tsearch/wparser_def.c
index 4b76997854b..f2ec784ac23 100644
--- a/src/backend/tsearch/wparser_def.c
+++ b/src/backend/tsearch/wparser_def.c
@@ -2508,7 +2508,7 @@ prsd_headline(PG_FUNCTION_ARGS)
List *prsoptions = (List *) PG_GETARG_POINTER(1);
TSQuery query = PG_GETARG_TSQUERY(2);
- /* from opt + start and and tag */
+ /* from opt + start and end tag */
int min_words = 15;
int max_words = 35;
int shortword = 3;