]> granicus.if.org Git - postgresql/commit
Adjust the APIs for GIN opclass support functions to allow the extractQuery()
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Mar 2009 22:19:02 +0000 (22:19 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 25 Mar 2009 22:19:02 +0000 (22:19 +0000)
commit87b8db37740bb044cb3b6a6439e656217869fd57
treec59eb0167c37ed34b9b24e718b2357bec48dcce1
parent050a78dd3da8d3711197bda429ed7733bbf1b291
Adjust the APIs for GIN opclass support functions to allow the extractQuery()
method to pass extra data to the consistent() and comparePartial() methods.
This is the core infrastructure needed to support the soon-to-appear
contrib/btree_gin module.  The APIs are still upward compatible with the
definitions used in 8.3 and before, although *not* with the previous 8.4devel
function definitions.

catversion bump for changes in pg_proc entries (although these are just
cosmetic, since GIN doesn't actually look at the function signature before
calling it...)

Teodor Sigaev and Oleg Bartunov
18 files changed:
contrib/hstore/hstore.sql.in
contrib/hstore/hstore_gin.c
contrib/hstore/uninstall_hstore.sql
contrib/intarray/_int.sql.in
contrib/intarray/_int_gin.c
contrib/intarray/uninstall__int.sql
contrib/pg_trgm/pg_trgm.sql.in
contrib/pg_trgm/trgm_gin.c
contrib/pg_trgm/uninstall_pg_trgm.sql
contrib/tsearch2/tsearch2.sql.in
doc/src/sgml/gin.sgml
src/backend/access/gin/ginarrayproc.c
src/backend/access/gin/ginget.c
src/backend/access/gin/ginscan.c
src/backend/utils/adt/tsginidx.c
src/include/access/gin.h
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h