From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | davidr(at)openscg(dot)com |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #14801: ECPG core dump |
Date: | 2017-09-11 19:14:51 |
Message-ID: | 20170911191451.abi7yqatrsn4spa4@feivel |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Wed, Sep 06, 2017 at 04:12:12PM +0000, davidr(at)openscg(dot)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
Attachment | Content-Type | Size |
---|---|---|
ecpg.patch | text/x-diff | 931 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2017-09-11 19:17:44 | Re: BUG #14808: V10-beta4, backend abort |
Previous Message | Tom Lane | 2017-09-11 17:03:51 | Re: BUG #14808: V10-beta4, backend abort |