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/>

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Reply via email to