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

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Aman Ganapathy <aman(at)stack-auth(dot)com>
Cc: 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 04:24:36
Message-ID: CAHGQGwGQ=jqGM2PioVYNznVXUrjqtiPYRJXLUXri1LxypZtSaQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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.

Regards,

--
Fujii Masao

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Raja Sai pranav 2026-12-03 04:59:21 Re: btree_gist: <-> fails on same-sign infinite intervals
Previous Message Ajin Cherian 2026-12-03 04:15:09 Re: Logical replication: replicated TRUNCATE crash-loops a subscriber with a foreign partition lacking TRUNCATE support