pgsql: Fix assorted bugs by changing TS_execute's callback API to terna

2020-07-24 Thread Tom Lane
Fix assorted bugs by changing TS_execute's callback API to ternary logic. Text search sometimes failed to find valid matches, for instance '!crew:A'::tsquery might fail to locate 'crew:1B'::tsvector during an index search. The root of the issue is that TS_execute's callback functions were not cha

pgsql: Fix assorted bugs by changing TS_execute's callback API to terna

2020-07-24 Thread Tom Lane
Fix assorted bugs by changing TS_execute's callback API to ternary logic. Text search sometimes failed to find valid matches, for instance '!crew:A'::tsquery might fail to locate 'crew:1B'::tsvector during an index search. The root of the issue is that TS_execute's callback functions were not cha