Re: [INTERFACES] ecpg idea - Mailing list pgsql-interfaces

From Thomas G. Lockhart
Subject Re: [INTERFACES] ecpg idea
Date
Msg-id 36CF00FB.53393C31@alumni.caltech.edu
Whole thread Raw
In response to ecpg idea  (Michael Meskes <Michael_Meskes@topmail.de>)
Responses Re: [INTERFACES] ecpg idea  (James Thompson <jamest@math.ksu.edu>)
List pgsql-interfaces
> ... if you provide a char * you have to make sure it has memory
> allocated yourself. James now asked me to do the correct malloc()
> inside libecpg if that poointer is NULL.
> I never heard about a feature like this on other DBMS but I like the
> idea. It should be pretty easy to implement too. Unless it is strictly
> against standard I would like to implement it.
> Comments anyone?

How do you get back the handle for the newly malloc'd storage?

                     - Tom

pgsql-interfaces by date:

Previous
From: Michael Meskes
Date:
Subject: Re: [INTERFACES] ecpg: use of #defines
Next
From: James Thompson
Date:
Subject: Re: [INTERFACES] ecpg idea