Re: ECPG segfault

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Jürgen Cappel <email(at)juergen-cappel(dot)de>
Cc: pgsql-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: ECPG segfault
Date: 2004-03-29 15:13:21
Message-ID: 20040329151321.GA5929@1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Meskes 2004-03-29 15:15:35 Re: ECPG mass retrieval?
Previous Message Goulet, Dick 2004-03-29 15:02:30 Re: ECPG mass retrieval?