Re: [BUGS] BUG #14801: ECPG core dump - Mailing list pgsql-bugs

From Michael Meskes
Subject Re: [BUGS] BUG #14801: ECPG core dump
Date
Msg-id 20170911191451.abi7yqatrsn4spa4@feivel
Whole thread Raw
In response to [BUGS] BUG #14801: ECPG core dump  (davidr@openscg.com)
List pgsql-bugs
On Wed, Sep 06, 2017 at 04:12:12PM +0000, davidr@openscg.com wrote:
> Using a int* variable as a where-clause parameter in a declare cursor
> construct causes ECPG to Abort (core dump). Using an int variable works
> correctly (as expected), and using a pointer type in where clause in a
> simple select into works.

Could you please try the attached little patch to see if it works with your
real life case? It does work with the test case. I will also git push as soon
as I'm back on the ground.

Thanks.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Attachment

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14808: V10-beta4, backend abort
Next
From: Robert Haas
Date:
Subject: Re: [BUGS] BUG #14808: V10-beta4, backend abort