From: Michael Meskes <meskes@postgresql.org>
To: Jürgen Cappel <email@juergen-cappel.de>
Cc: pgsql-interfaces <pgsql-interfaces@postgresql.org>
Subject: Re: ECPG segfault
Date: Mon, 29 Mar 2004 17:13:21 +0200
Message-ID: <20040329151321.GA5929@1> (raw)
In-Reply-To: <JEEKIPNAKJNCFLMOBKHGKEHKDCAA.email@juergen-cappel.de>
References: <JEEKIPNAKJNCFLMOBKHGKEHKDCAA.email@juergen-cappel.de>
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!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: meskes@postgresql.org, email@juergen-cappel.de
Subject: Re: ECPG segfault
In-Reply-To: <20040329151321.GA5929@1>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox