Skip site navigation (1) Skip section navigation (2)

Re: btree_gist, gint4_union

From: Teodor Sigaev <teodor(at)stack(dot)net>
To: Itai Zukerman <zukerman(at)math-hat(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: btree_gist, gint4_union
Date: 2003-03-03 09:43:03
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

Itai Zukerman wrote:
> In contrib/btree_gist/ I see:
>   CREATE FUNCTION gint4_union(bytea, internal)
>   RETURNS int4
> but gint4_union does this:
>   INT4KEY *out = palloc(sizeof(INT4KEY));
>   [...]
> Is the int4 return type declared above a bug?

Must be 'internal'. It's not a bug :) because this function is GiST interface 
and itsn't any nessesarity to call it by hand.

Teodor Sigaev

In response to

pgsql-hackers by date

Next:From: Teodor SigaevDate: 2003-03-03 09:46:00
Subject: Re: [SQL] OffsetNumber, picksplit, and GiST
Previous:From: Christopher Kings-LynneDate: 2003-03-03 07:06:02
Subject: Off topic - was Re: ALTER SEQUENCE

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group