Re: ECPG segfault - Mailing list pgsql-interfaces

From Michael Meskes
Subject Re: ECPG segfault
Date
Msg-id 20040329151321.GA5929@1
Whole thread Raw
In response to ECPG segfault  (Jürgen Cappel <email@juergen-cappel.de>)
List pgsql-interfaces
Thanks for hunting down this bug. Patch applied to HEAD and 7.4.

On Fri, Mar 26, 2004 at 01:26:28PM +0100, Jürgen Cappel wrote:
> Using my example, things work well when allocating a few bytes more,
> but i would suggest adding a strlen(varcharsize) instead of 1 byte
> for allocation of "offset".

Actually you need the 1 too. :-)

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-interfaces by date:

Previous
From: "Goulet, Dick"
Date:
Subject: Re: ECPG mass retrieval?
Next
From: Michael Meskes
Date:
Subject: Re: ECPG mass retrieval?