Re: [HACKERS] ECPG pointer vs array

2010-03-31 Thread Michael Meskes
On Wed, Mar 31, 2010 at 10:37:13AM +0200, Boszormenyi Zoltan wrote: > It would be good if libecpg to support e.g. "char **strings" instead of > "char *strings[]" for preallocated strings and the array of those. > ... I'm open to improvements. The way ecpg accesses variables hasn't been changed for

[HACKERS] ECPG pointer vs array

2010-03-31 Thread Boszormenyi Zoltan
Hi, It would be good if libecpg to support e.g. "char **strings" instead of "char *strings[]" for preallocated strings and the array of those. IIRC, the first version overwrote my stack in a test programme, as these two are treated the same but they are not. Also, as "numeric" is supposed to be a