btree_gist, gint4_union - Mailing list pgsql-hackers

From Itai Zukerman
Subject btree_gist, gint4_union
Date
Msg-id 87smu9s6rm.fsf@pip.dynamiclogic.com
Whole thread Raw
Responses Re: btree_gist, gint4_union
List pgsql-hackers
In contrib/btree_gist/ I see:
 CREATE FUNCTION gint4_union(bytea, internal) RETURNS int4 AS 'MODULE_PATHNAME' LANGUAGE 'C';

but gint4_union does this:
 INT4KEY *out = palloc(sizeof(INT4KEY)); [...] PG_RETURN_POINTER(out);

Is the int4 return type declared above a bug?

-- 
Itai Zukerman  <http://www.math-hat.com/~zukerman/>


pgsql-hackers by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: analyze after a database restore?
Next
From: Itai Zukerman
Date:
Subject: Re: [SQL] OffsetNumber, picksplit, and GiST