From: | Jan Wieck <JanWieck(at)Yahoo(dot)com> |
---|---|
To: | Alex Page <alex(dot)page(at)cancer(dot)org(dot)uk> |
Cc: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: C Programming with postgres.h - my function crashes |
Date: | 2003-12-03 17:04:51 |
Message-ID: | 3FCE17B3.2080203@Yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Alex Page wrote:
> On Tue, Dec 02, 2003 at 01:54:06PM -0500, Jan Wieck wrote:
>
>> First of all, the argument to a type input procedure is a nul terminated
>> CString, not text.
>
> Oops! Thanks for that, I'll see if I can get this working now.
>
>> Alex, why don't you look at an existing datatype in backend/utils/adt?
>
> I don't seem to have this file in my Postgres installation. Is it
> available somewhere?
It is the directory of the PostgreSQL source tree where all the builtin
data types live and you can find it here:
http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/adt/
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Browne | 2003-12-03 17:06:15 | Re: Teach Yourself PostgreSQL book |
Previous Message | Jan Wieck | 2003-12-03 17:01:33 | Re: postgresql locks the whole table! |