Fix broken compare function for tsquery_ops. Per Tom's report.
Teodor Sigaev <teodor@sigaev.ru>
Fix broken compare function for tsquery_ops. Per Tom's report. I never understood why initial authors GiST in pgsql choose so stgrange signature for 'same' method: bool *sameFn(Datum a, Datum b, bool* result) instead of simple, logical bool sameFn(Datum a, Datum b) This change will break any existing GiST extension, so we still live with it and will live.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/tsearch2/query_gist.c | modified | +4 −1 |