summaryrefslogtreecommitdiff
path: root/contrib/tsearch2/query.c
diff options
context:
space:
mode:
authorTeodor Sigaev2003-12-03 16:06:59 +0000
committerTeodor Sigaev2003-12-03 16:06:59 +0000
commitbe5a80739b735257a9738f4d12781345da1f4050 (patch)
treed5cd1333401f2ec0615cd68921003888c4854ef5 /contrib/tsearch2/query.c
parentebe0cfd79eedf3395c8c2b56f20184ca3001671a (diff)
Fix for word with several infinitives
Diffstat (limited to 'contrib/tsearch2/query.c')
-rw-r--r--contrib/tsearch2/query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tsearch2/query.c b/contrib/tsearch2/query.c
index c812f48b0d6..458c55de279 100644
--- a/contrib/tsearch2/query.c
+++ b/contrib/tsearch2/query.c
@@ -278,7 +278,7 @@ pushval_morph(QPRS_STATE * state, int typeval, char *strval, int lenval, int2 we
pushval_asis(state, VAL, prs.words[count].word, prs.words[count].len, weight);
pfree(prs.words[count].word);
if (count)
- pushquery(state, OPR, (int4) '|', 0, 0, 0);
+ pushquery(state, OPR, (int4) '&', 0, 0, 0);
}
pfree(prs.words);