Fix broken compare function for tsquery_ops. Per Tom's report.
authorTeodor Sigaev <teodor@sigaev.ru>
Sun, 20 Apr 2008 09:39:38 +0000 (09:39 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Sun, 20 Apr 2008 09:39:38 +0000 (09:39 +0000)
commit1d09909283e648fc57a8fb8f0075b2e031bae445
tree1e0301219643e7ebcdc53f553c640ada225b717d
parent4d72c9f3c81b2b1e0594f5b7e606f1efa958a663
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.
contrib/tsearch2/query_gist.c