pgsql: Fix broken compare function for tsquery_ops.

From: teodor(at)postgresql(dot)org (Teodor Sigaev)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix broken compare function for tsquery_ops.
Date: 2008-04-20 09:39:38
Message-ID: 20080420093938.9A0DE7559CC@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/contrib/tsearch2:
query_gist.c (r1.10 -> r1.10.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/query_gist.c?r1=1.10&r2=1.10.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message User Gleu 2008-04-20 21:02:42 pgsnap - pgsnap: Show/hide user/system objects.
Previous Message Teodor Sigaev 2008-04-20 09:29:48 pgsql: Fix broken compare function for tsquery_ops.