Re: [HACKERS] using array of char pointers gives wrong results

2014-05-06 Thread Ashutosh Bapat
Thanks Michael. On Tue, May 6, 2014 at 5:01 PM, Michael Meskes wrote: > > PFA patch ecpg_char_ptr_arr.patch to fix this issue. It has changes as > > follows > > ... > > Thanks for finding and fixing the problem. Patch applied to complete 9 > series with only a minor change. > > Michael > -- > M

Re: [HACKERS] using array of char pointers gives wrong results

2014-05-06 Thread Michael Meskes
> PFA patch ecpg_char_ptr_arr.patch to fix this issue. It has changes as > follows > ... Thanks for finding and fixing the problem. Patch applied to complete 9 series with only a minor change. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael

Re: [HACKERS] using array of char pointers gives wrong results

2014-05-05 Thread Ashutosh Bapat
Let me bring the bug fix again to the surface. Is anybody looking at this fix? On Tue, Apr 29, 2014 at 2:25 PM, Ashutosh Bapat < ashutosh.ba...@enterprisedb.com> wrote: > Hi, > When array of char * is used as target for the FETCH statement returning > more than one row, it tries to store all the

[HACKERS] using array of char pointers gives wrong results

2014-04-29 Thread Ashutosh Bapat
Hi, When array of char * is used as target for the FETCH statement returning more than one row, it tries to store all the result in the first element. PFA test_char_select.pgc, which fetches first 3 relnames from pg_class ordered by relname. The program prints following result steps to compile and