Re: C Programming with postgres.h - my function crashes

From: Alex Page <alex(dot)page(at)cancer(dot)org(dot)uk>
To: Jan Wieck <JanWieck(at)yahoo(dot)com>
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 16:57:59
Message-ID: 20031203165759.GA21327@halcyon.ox.icnet.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

Alex
--
Mail: Alex Page <alex(dot)page(at)cancer(dot)org(dot)uk>
Real: Systems/Network Assistant, Epidemiology Unit, Oxford
Tel: 01865 302 223 (external) / 223 (internal)
PGP: 8868 21D7 3D35 DD77 9D06 BF0A 0746 2DE6 55EA 367E

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Mascari 2003-12-03 16:59:38 Re: postgresql locks the whole table!
Previous Message Joshua D. Drake 2003-12-03 16:48:49 Re: DBD::Pg problem