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

From Christof Petig
Subject Re: ECPG: Automatic Storage allocation for NULL-pointing
Date
Msg-id 3BE282F0.45D84760@petig-baender.de
Whole thread Raw
In response to ECPG: Automatic Storage allocation for NULL-pointing output variables  (Christof Petig <christof@petig-baender.de>)
List pgsql-interfaces
Michael Meskes wrote:

> 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.

I don't care much about these two bugs once the char** patch went in. I might take a
second look at varchar pointers for binary strings. But I'll ask the standard first.

Christof




pgsql-interfaces by date:

Previous
From: Ludek Finstrle
Date:
Subject: Re: Need Help with BLOBs via DBI
Next
From: Bruce Momjian
Date:
Subject: Re: ECPG - connection name in "EXEC SQL AT ... " statement