From f2c064afcbfad4999d7e9ccb644a8aa99463a1ac Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Tue, 30 Mar 2004 15:45:33 +0000 Subject: Cleanup vectors of GISTENTRY and eliminate problem with 64-bit strict-aligned boxes. Change interface to user-defined GiST support methods union and picksplit. Now instead of bytea struct it used special GistEntryVector structure. --- contrib/intarray/_int.sql.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib/intarray/_int.sql.in') diff --git a/contrib/intarray/_int.sql.in b/contrib/intarray/_int.sql.in index 472cd1dc1c..f0b35b2181 100644 --- a/contrib/intarray/_int.sql.in +++ b/contrib/intarray/_int.sql.in @@ -327,7 +327,7 @@ RETURNS internal AS 'MODULE_PATHNAME' LANGUAGE 'C'; -CREATE FUNCTION g_int_union(bytea, internal) +CREATE FUNCTION g_int_union(internal, internal) RETURNS _int4 AS 'MODULE_PATHNAME' LANGUAGE 'C'; @@ -348,7 +348,7 @@ DEFAULT FOR TYPE _int4 USING gist AS OPERATOR 8 ~, OPERATOR 20 @@ (_int4, query_int), FUNCTION 1 g_int_consistent (internal, _int4, int4), - FUNCTION 2 g_int_union (bytea, internal), + FUNCTION 2 g_int_union (internal, internal), FUNCTION 3 g_int_compress (internal), FUNCTION 4 g_int_decompress (internal), FUNCTION 5 g_int_penalty (internal, internal, internal), @@ -402,7 +402,7 @@ RETURNS internal AS 'MODULE_PATHNAME' LANGUAGE 'C'; -CREATE FUNCTION g_intbig_union(bytea, internal) +CREATE FUNCTION g_intbig_union(internal, internal) RETURNS _int4 AS 'MODULE_PATHNAME' LANGUAGE 'C'; @@ -423,7 +423,7 @@ AS OPERATOR 8 ~ RECHECK, OPERATOR 20 @@ (_int4, query_int) RECHECK, FUNCTION 1 g_intbig_consistent (internal, internal, int4), - FUNCTION 2 g_intbig_union (bytea, internal), + FUNCTION 2 g_intbig_union (internal, internal), FUNCTION 3 g_intbig_compress (internal), FUNCTION 4 g_intbig_decompress (internal), FUNCTION 5 g_intbig_penalty (internal, internal, internal), -- cgit v1.2.1