diff options
| author | Tom Lane | 2001-08-22 18:24:26 +0000 |
|---|---|---|
| committer | Tom Lane | 2001-08-22 18:24:26 +0000 |
| commit | a54075a6d6df36f4c676486b4711ccfc650bf5e2 (patch) | |
| tree | 06f95f3ebba713e52fd7a61404d9b012b58e4e76 /contrib/intarray | |
| parent | 38a4c3511695c21be936c0c278daf9a67ec12b2c (diff) | |
Update GiST for new pg_opclass arrangement (finally a clean solution
for haskeytype). Update GiST contrib modules too. Add linear-time split
algorithm for R-tree GiST opclass.
From Oleg Bartunov and Teodor Sigaev.
Diffstat (limited to 'contrib/intarray')
| -rw-r--r-- | contrib/intarray/_int.sql.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/intarray/_int.sql.in b/contrib/intarray/_int.sql.in index 75ead93600..6ee186dc26 100644 --- a/contrib/intarray/_int.sql.in +++ b/contrib/intarray/_int.sql.in @@ -86,7 +86,7 @@ CREATE FUNCTION g_int_decompress(opaque) RETURNS opaque AS 'MODULE_PATHNAME' LANGUAGE 'c'; CREATE FUNCTION g_int_penalty(opaque,opaque,opaque) RETURNS opaque - AS 'MODULE_PATHNAME' LANGUAGE 'c'; + AS 'MODULE_PATHNAME' LANGUAGE 'c' with (isstrict); CREATE FUNCTION g_int_picksplit(opaque, opaque) RETURNS opaque AS 'MODULE_PATHNAME' LANGUAGE 'c'; @@ -105,7 +105,7 @@ INSERT INTO pg_opclass (opcamid, opcname, opcintype, opcdefault, opckeytype) 'gist__int_ops', (SELECT oid FROM pg_type WHERE typname = '_int4'), true, - (SELECT oid FROM pg_type WHERE typname = '_int4')); + 0); -- get the comparators for _intments and store them in a tmp table @@ -252,7 +252,7 @@ INSERT INTO pg_opclass (opcamid, opcname, opcintype, opcdefault, opckeytype) 'gist__intbig_ops', (SELECT oid FROM pg_type WHERE typname = '_int4'), false, - (SELECT oid FROM pg_type WHERE typname = '_int4')); + 0); -- get the comparators for _intments and store them in a tmp table |
