btree_gist, gint4_union

From: Itai Zukerman <zukerman(at)math-hat(dot)com>
To:
Cc: pgsql-sql(at)postgresql(dot)org
Subject: btree_gist, gint4_union
Date: 2003-02-26 19:05:17
Message-ID: 8765r6dfrm.fsf_-_@pip.dynamiclogic.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Achilleus Mantzios 2003-02-26 19:58:23 Re: Design Q.:logic in app or db?
Previous Message Josh Berkus 2003-02-26 18:25:00 Re: Design Q.:logic in app or db?