Fix broken compare function for tsquery_ops. Per Tom's report.
authorTeodor Sigaev <teodor@sigaev.ru>
Sun, 20 Apr 2008 09:17:57 +0000 (09:17 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Sun, 20 Apr 2008 09:17:57 +0000 (09:17 +0000)
commitbe939544a68f852107c912da2f35f5d36958deb2
treefa7c4b63eaf95171a405c37919f6d06ece3dbf2b
parentdc192a5d8c062c657ed1884872c80cf00cc61baf
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