pgsql: Adjust the APIs for GIN opclass support functions to allow the - Mailing list pgsql-committers

From [email protected] (Tom Lane)
Subject pgsql: Adjust the APIs for GIN opclass support functions to allow the
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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

Modified Files:
--------------
    pgsql/contrib/hstore:
        hstore.sql.in (r1.9 -> r1.10)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/hstore/hstore.sql.in?r1=1.9&r2=1.10)
        hstore_gin.c (r1.4 -> r1.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/hstore/hstore_gin.c?r1=1.4&r2=1.5)
        uninstall_hstore.sql (r1.7 -> r1.8)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/hstore/uninstall_hstore.sql?r1=1.7&r2=1.8)
    pgsql/contrib/intarray:
        _int.sql.in (r1.28 -> r1.29)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/intarray/_int.sql.in?r1=1.28&r2=1.29)
        _int_gin.c (r1.8 -> r1.9)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/intarray/_int_gin.c?r1=1.8&r2=1.9)
        uninstall__int.sql (r1.9 -> r1.10)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/intarray/uninstall__int.sql?r1=1.9&r2=1.10)
    pgsql/contrib/pg_trgm:
        pg_trgm.sql.in (r1.8 -> r1.9)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_trgm/pg_trgm.sql.in?r1=1.8&r2=1.9)
        trgm_gin.c (r1.6 -> r1.7)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_trgm/trgm_gin.c?r1=1.6&r2=1.7)
        uninstall_pg_trgm.sql (r1.6 -> r1.7)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pg_trgm/uninstall_pg_trgm.sql?r1=1.6&r2=1.7)
    pgsql/contrib/tsearch2:
        tsearch2.sql.in (r1.6 -> r1.7)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/tsearch2.sql.in?r1=1.6&r2=1.7)
    pgsql/doc/src/sgml:
        gin.sgml (r2.17 -> r2.18)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/gin.sgml?r1=2.17&r2=2.18)
    pgsql/src/backend/access/gin:
        ginarrayproc.c (r1.14 -> r1.15)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gin/ginarrayproc.c?r1=1.14&r2=1.15)
        ginget.c (r1.23 -> r1.24)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gin/ginget.c?r1=1.23&r2=1.24)
        ginscan.c (r1.21 -> r1.22)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gin/ginscan.c?r1=1.21&r2=1.22)
    pgsql/src/backend/utils/adt:
        tsginidx.c (r1.14 -> r1.15)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/tsginidx.c?r1=1.14&r2=1.15)
    pgsql/src/include/access:
        gin.h (r1.30 -> r1.31)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/access/gin.h?r1=1.30&r2=1.31)
    pgsql/src/include/catalog:
        catversion.h (r1.525 -> r1.526)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/catversion.h?r1=1.525&r2=1.526)
        pg_proc.h (r1.538 -> r1.539)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/pg_proc.h?r1=1.538&r2=1.539)

pgsql-committers by date:

Previous
From: [email protected] (User Andrewsn)
Date:
Subject: hstore-new - hstore-new: more backport
Next
From: [email protected] (Tom Lane)
Date:
Subject: pgsql: New Directory