• Teodor Sigaev's avatar
    Change predecence of phrase operator. · 6734a1ca
    Teodor Sigaev authored
    <-> operator now have higher predecence than & (AND) operator. This change
    was motivated by unexpected difference of similar queries:
    'a & b <-> c'::tsquery and 'b <-> c & a'. Before first query means
    (a & b) <-> c and second one - '(b <-> c) & a', now phrase operator evaluates
    first.
    
    Per suggestion from Tom Lane 32260.1465402409@sss.pgh.pa.us
    6734a1ca
tsquery.c 25 KB