Hi,
the query below triggers an assertion in TS_phrase_execute. Testing was
done on master at dbdfd11.
regards,
Andreas
-- TRAP: FailedAssertion("!(curitem->qoperator.oper == 4)", File: "tsvector_op.c", Line: 1432)
select 'moscow' @@ ts_rewrite('moscow', 'moscow', ts_rewrite( tsquery_phrase('moscow','moscow'),
'moscow', $$ 'sanct' & 'peter'$$));