Re: BUG #19967: ecpg crashes after "cursor does not exist" on FETCH or MOVE

From: Kirill Reshke <reshkekirill(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: Aman Ganapathy <aman(at)stack-auth(dot)com>, Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19967: ecpg crashes after "cursor does not exist" on FETCH or MOVE
Date: 2026-12-03 07:05:27
Message-ID: CALdSSPh1f=Gx=8QuJcM7reQoDN2q7qY398QHWY=0GYdO=-U8JA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, 3 Dec 2026 at 09:24, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>
> On Thu, Dec 3, 2026 at 3:47 AM Aman Ganapathy <aman(at)stack-auth(dot)com> wrote:
> > I tested v1 on master and the backpatch on 15, 16 and 17: the crash is gone on all of them and make check in src/interfaces/ecpg passes.
>
> Thanks for the test!
>
> > I noticed there wasn't a regression test so I've attached one below. It fails before the fix and passes after.
>
> I don't think a regression test is necessary here. This is a straightforward
> NULL-check fix, and the verification already done seems sufficient. So I'm
> thinking to commit the patch without adding a test.

Surely no need in spending buildfarm cycles on too narrow cases

--
Best regards,
Kirill Reshke

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ishjaap Singh 2026-12-03 07:26:06 Re: BUG #19958: jsonpath: a word directly followed by a /* comment */ is silently dropped, so strict becomes lax
Previous Message Alexander Lakhin 2026-12-03 05:00:00 Re: BUG #19723: CREATE INDEX racing with ALTER INDEX ATTACH PARTITION triggers unexpected internal error