pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Itai Zukerman <zukerman@math-hat.com>
Cc: pgsql-sql@postgresql.org
Subject: btree_gist, gint4_union
Date: Wed, 26 Feb 2003 14:05:17 -0500
Message-ID: <8765r6dfrm.fsf_-_@pip.dynamiclogic.com> (raw)
In-Reply-To: <200302261025.00360.josh@agliodbs.com>
References: <20030226103220.6875cee9.gry@ll.mit.edu>
	<200302261025.00360.josh@agliodbs.com>

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



view thread (4+ messages)  latest in thread

Message-ID: <8765r6dfrm.fsf_-_@pip.dynamiclogic.com>
Permalink:  ../8765r6dfrm.fsf_-_@pip.dynamiclogic.com/
Also on:    postgresql.org/message-id/8765r6dfrm.fsf_-_@pip.dynamiclogic.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: zukerman@math-hat.com
  Subject: Re: btree_gist, gint4_union
  In-Reply-To: <8765r6dfrm.fsf_-_@pip.dynamiclogic.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox