From 69c26c57cfb4194b8cdc69b48b8a71dad1f92bac Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 7 Jan 2011 23:34:06 -0500 Subject: [PATCH] Update GIN support function definitions for contrib/intarray. The underlying C code still needs work, but this at least gets its current regression test passing again. --- contrib/intarray/_int.sql.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/contrib/intarray/_int.sql.in b/contrib/intarray/_int.sql.in index 2a6ed911ad..ad224e319b 100644 --- a/contrib/intarray/_int.sql.in +++ b/contrib/intarray/_int.sql.in @@ -458,12 +458,12 @@ AS --GIN -CREATE OR REPLACE FUNCTION ginint4_queryextract(internal, internal, int2, internal, internal) +CREATE OR REPLACE FUNCTION ginint4_queryextract(internal, internal, int2, internal, internal, internal, internal) RETURNS internal AS 'MODULE_PATHNAME' LANGUAGE C IMMUTABLE STRICT; -CREATE OR REPLACE FUNCTION ginint4_consistent(internal, int2, internal, int4, internal, internal) +CREATE OR REPLACE FUNCTION ginint4_consistent(internal, int2, internal, int4, internal, internal, internal, internal) RETURNS bool AS 'MODULE_PATHNAME' LANGUAGE C IMMUTABLE STRICT; @@ -479,7 +479,7 @@ AS OPERATOR 14 ~, OPERATOR 20 @@ (_int4, query_int), FUNCTION 1 btint4cmp (int4, int4), - FUNCTION 2 ginarrayextract (anyarray, internal), - FUNCTION 3 ginint4_queryextract (internal, internal, int2, internal, internal), - FUNCTION 4 ginint4_consistent (internal, int2, internal, int4, internal, internal), + FUNCTION 2 ginarrayextract (anyarray, internal, internal), + FUNCTION 3 ginint4_queryextract (internal, internal, int2, internal, internal, internal, internal), + FUNCTION 4 ginint4_consistent (internal, int2, internal, int4, internal, internal, internal, internal), STORAGE int4; -- 2.40.0