Re: [INTERFACES] Re: ecpg with indicators not working
От | James Thompson |
---|---|
Тема | Re: [INTERFACES] Re: ecpg with indicators not working |
Дата | |
Msg-id | Pine.LNX.4.10.9902170730380.1232-100000@hobbes.math.ksu.edu обсуждение исходный текст |
Ответ на | Re: ecpg with indicators not working (Michael Meskes <Michael_Meskes@topmail.de>) |
Список | pgsql-interfaces |
On Wed, 17 Feb 1999, Michael Meskes wrote: > > Strange. Please try the attached test file. I defined all your variables as > int and it works with ecpg versions 2.4.4 (PG 6.4.1), 2.4.9 and 2.5.0. > > > I dont know the proper method for looking into core files but by trial and > > error I got gdb to produce (is this correct way to do this?) > Yes the test files worked. Until I added the other variables used in the insert statement. I put the following in the sql declare section (too lazy to type them all). char *uid,*id,*name_first,*name_middle,*name_last; And then ecpg bombs with the seg fault. > > Could you please check where in ECPGdump_a_type it dumps core? The function > is a pretty short one. > Sure, if I can figure out how. Can I do that via gdb? Or do I just need to use puts throughout the function? I'd also be willing to try the cvs versions if someone could tell me where to get them, I cant find cvs download instructions on the postgresql site. ->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-< James Thompson 138 Cardwell Hall Manhattan, Ks 66506 785-532-0561 Kansas State University Department of Mathematics ->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<
В списке pgsql-interfaces по дате отправления: