]> granicus.if.org Git - postgresql/commit
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)
commitfc0a2b45d030f6aac942df3fcdde17d6d087cd93
tree033857193b96dc2f8cbd183caec234a8ef96e9b8
parentce646d719246f03930da97bddf0065d868e1a02b
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