summaryrefslogtreecommitdiff
path: root/contrib/tsearch2/query.c
diff options
context:
space:
mode:
authorTeodor Sigaev2003-11-27 16:04:40 +0000
committerTeodor Sigaev2003-11-27 16:04:40 +0000
commitbaeab89de63ab0f74266481954ee3c0825714ff3 (patch)
treea2b7c2e9fc7d995cc17344c86762c513e76e88d0 /contrib/tsearch2/query.c
parent9ea738827c142f0a8400ab962a285c1961822c7b (diff)
Fixes about word with several infiniteve
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 458c55de27..c812f48b0d 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);