]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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)
commit254d66e2f1b3d42f9afa0acebb04501c505ec5b6
treec8b0445874b5a55fdcb0403d9933ffd99d947a66
parent2101518516ff6bc2c21b7fb1323a409d09990014
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