Re: [BUG] CRASH: ECPGprepared_statement() and ECPGdeallocate_all() when connection is NULL - Mailing list pgsql-hackers

From Shruthi Gowda
Subject Re: [BUG] CRASH: ECPGprepared_statement() and ECPGdeallocate_all() when connection is NULL
Date
Msg-id CAASxf_O+CN9Pw+XSHCbfHE2DwS1BObAwFZnnQyT+7062ozYGQw@mail.gmail.com
Whole thread
In response to Re: [BUG] CRASH: ECPGprepared_statement() and ECPGdeallocate_all() when connection is NULL  (Nishant Sharma <nishant.sharma@enterprisedb.com>)
List pgsql-hackers


On Mon, Apr 20, 2026 at 11:31 AM Nishant Sharma <nishant.sharma@enterprisedb.com> wrote:
Thanks Shruthi for the new test patches!

I can apply v3_test_v15 on both REL_15 and REL_14.

I only have the following concern in the test patches now:-
1. The test1 table in the test case is not being cleaned up.


Regards,
Nishant Sharma,
EDB, Pune.


Hi Nishant, I have updated the test patches by adding a ROLLBACK command before DISCONNECT. Please find the latest test patches for master through REL_16 (v4_test) and REL_15 through REL_14 (v4_test_v15).

I am also reattaching the v5 source code patch, which is applicable to all active branches (master, REL_18, REL_17, REL_16, REL_15, and REL_14).

Attachment

pgsql-hackers by date:

Previous
From: Antonin Houska
Date:
Subject: Re: logical: fix recomputation required LSN on restart_lsn-only advancement
Next
From: Chao Li
Date:
Subject: Re: logical: fix recomputation required LSN on restart_lsn-only advancement