btree_gist, gint4_union

From: Itai Zukerman <zukerman(at)math-hat(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: btree_gist, gint4_union
Date: 2003-02-27 22:22:53
Message-ID: 87smu9s6rm.fsf@pip.dynamiclogic.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/>

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Sullivan 2003-02-27 22:25:03 Re: analyze after a database restore?
Previous Message Itai Zukerman 2003-02-27 22:21:37 Re: [SQL] OffsetNumber, picksplit, and GiST