Re: ecpg segmentation error - Mailing list pgsql-bugs

From Michael Meskes
Subject Re: ecpg segmentation error
Date
Msg-id 20040229160834.GA2284@1
Whole thread Raw
In response to ecpg segmentation error  (margitsw@t-online.de (Margit Schubert-While))
Responses Re: ecpg segmentation error
List pgsql-bugs
On Fri, Feb 27, 2004 at 07:16:43PM +0100, Margit Schubert-While wrote:
> Following cursor declaration which worked in 7.3.4, produces
> a seg fault with 7.4.1 and todays cvs.

Hmm, not for me:

./preproc/ecpg a.pgc
a.pgc:7: WARNING: cursor `functestcur0=C2=B4 has been declared but ot opened

With a.pgc being exactly your declare statement plus some variable
definitions.

> (All referenced variables are declared correctly)

For the furture, please include a test case I can work with. Just that
one line does not enable me to find the bug at all as you can see. In
fact it is not even enough code to run a simple test. It shouldn't be
too difficult to include the variable declarations so it's at least
compilable code.

Michael
--=20
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-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: About Create Assertion
Next
From: Michael Meskes
Date:
Subject: Re: ecpg multidimensional arrays