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)
commitc850b587b795e3fd2e608217c319d287febb5efc
treef8aaf7dd4270a665e5765a03caefe780cfd83f6d
parent1acbfeb97ac2d9ebb1ec38f35c1e45903dcecf3c
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