From: Teodor Sigaev Date: Wed, 3 Dec 2003 16:06:59 +0000 (+0000) Subject: Fix for word with several infinitives X-Git-Tag: REL7_4_1~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be5a80739b735257a9738f4d12781345da1f4050;p=postgresql Fix for word with several infinitives --- diff --git a/contrib/tsearch2/query.c b/contrib/tsearch2/query.c index c812f48b0d..458c55de27 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);