Re: C Functions, datatypes

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: A Palmblad <adampalmblad(at)yahoo(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: C Functions, datatypes
Date: 2004-05-04 07:21:07
Message-ID: 20040504072107.GC32538@zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, May 03, 2004 at 12:48:19PM -0700, A Palmblad wrote:

> I'm writing a function in C, and am trying to return a row, containing
> Numeric and array types. I'm building the row with heap_formtuple.
> I'm having trouble creating the numeric and array Datums. If anyone
> has some example code illustrating this, that'd be great. -Adam

I think best examples you can found in the pgsql/src/backend/utils/adt
directory where is almost all PostgreSQL code with datatypes.

Karel

--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Manfred Koizar 2004-05-04 08:36:20 Re: 7.4.2 Regression tests: test stats loops indefinately...
Previous Message Manfred Koizar 2004-05-04 07:09:33 Re: BUG ? or SQL miss understanding ?