Fix broken compare function for tsquery_ops. Per Tom's report.
authorTeodor Sigaev <teodor@sigaev.ru>
Sun, 20 Apr 2008 09:29:48 +0000 (09:29 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Sun, 20 Apr 2008 09:29:48 +0000 (09:29 +0000)
commit014ea5ca8e30f42555327e8f48b99ad8a5fbe81f
tree37b070c5cd3596f8fdadbd323718a8c73d6b5fbd
parente2641f119e6b57679cc369475d6de26af6a3192d
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.
src/backend/utils/adt/tsquery_gist.c