Re: ECPG: Automatic Storage allocation for NULL-pointing

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: ECPG: Automatic Storage allocation for NULL-pointing
Date: 2001-11-01 10:12:55
Message-ID: 20011101111255.E2224@feivel.fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Tue, Oct 30, 2001 at 10:46:03AM +0100, Christof Petig wrote:
> - it is possible to create a pointer to a varchar, simply use the
> braindead (to me) syntax:
>
> varchar type[][maxlen]=0;

Ah yes, the memory comes back. :-9

> - ecpg and the C compiler do not agree on the meaning of

Yup, one more bug to fix.

> PS: casts do not work when initializing variables ( e.g. int VAR = (int) 1.5; ->
> syntax error)

And another one.

Michael
--
Michael Meskes
Michael(at)Fam-Meskes(dot)De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Meskes 2001-11-01 10:15:52 Re: ECPG - connection name in "EXEC SQL AT ... " statement
Previous Message Damar Thapa 2001-11-01 09:45:48 getting started with libpq and postgresql