Re: ECPG: Automatic Storage allocation for NULL-pointing - Mailing list pgsql-interfaces

From Michael Meskes
Subject Re: ECPG: Automatic Storage allocation for NULL-pointing
Date
Msg-id 20011101111255.E2224@feivel.fam-meskes.de
Whole thread Raw
In response to Re: ECPG: Automatic Storage allocation for NULL-pointing  (Christof Petig <christof@petig-baender.de>)
List 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@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!


pgsql-interfaces by date:

Previous
From: Jeremy Wohl
Date:
Subject: Inserting/updating large text fields w/libpq
Next
From: Michael Meskes
Date:
Subject: Re: ECPG - connection name in "EXEC SQL AT ... " statement