Re: [PATCH] Release replication slot on error in SQL-callable slot functions

From: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
To: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Cc: kedar anavardekar <kedar(dot)anavardekar(at)gmail(dot)com>, shveta malik <shveta(dot)malik(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>, SATYANARAYANA NARLAPURAM <satyanarlapuram(at)gmail(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Release replication slot on error in SQL-callable slot functions
Date: 2026-09-21 20:59:45
Message-ID: CALj2ACXtHqVRBb40OHXx1JAMnv-L=-PFU_nyk2aB=0wMgkpGOw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Sat, Sep 19, 2026 at 9:54 PM Bharath Rupireddy
<bharath(dot)rupireddyforpostgres(at)gmail(dot)com> wrote:
>
> Please find the attached v18 patches (incl. backbranches) with the
> above two slight adjustments. I fixed a typo in the commit message but
> otherwise retained it as-is.

I slightly adjusted the test comments to make the flow clearer. The
rest remains the same. Please have a look at the attached v19 patches.

--
Bharath Rupireddy
Amazon Web Services: https://aws.amazon.com

Attachment Content-Type Size
v19-0001-Fix-replication-slot-leak-on-error-caught-in-a-s.patch application/octet-stream 17.3 KB
nocfbot-v19-0001-PG19-Fix-replication-slot-leak-on-error-caught-in-a-s.patch application/octet-stream 17.3 KB
nocfbot-v19-0001-PG18-Fix-replication-slot-leak-on-error-caught-in-a-s.patch application/octet-stream 17.2 KB
nocfbot-v19-0001-PG17-Fix-replication-slot-leak-on-error-caught-in-a-s.patch application/octet-stream 17.3 KB
nocfbot-v19-0001-PG16-Fix-replication-slot-leak-on-error-caught-in-a-s.patch application/octet-stream 17.4 KB
nocfbot-v19-0001-PG15-Fix-replication-slot-leak-on-error-caught-in-a-s.patch application/octet-stream 17.4 KB
nocfbot-v19-0001-PG14-Fix-replication-slot-leak-on-error-caught-in-a-s.patch application/octet-stream 17.5 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Zsolt Parragi 2026-09-21 21:01:33 Re: Crashes on a partition whose concurrent detach never finished
Previous Message Alexandre Felipe 2026-09-21 20:51:05 Re: Restructured Shared Buffer Hash Table