Release replication slot on error in SQL-callable slot functions

Edit
ID 7097
Title Release replication slot on error in SQL-callable slot functions
CI (CFBot) Not processed
Stats (from CFBot) Unknown
Tags Bugfix Logical Replication
Created 2026-08-04 23:52:03
Last modified 2026-08-04 23:52:03 (1 hour ago)
Latest email 2026-08-04 11:33:37 (13 hours ago)
Status
PG20-2 (2026-09-01 – 2026-09-30): Needs review
Target version 20
Authors Bharath Rupireddy (bharathrupireddy), SATYANARAYANA NARLAPURAM (satyanarayanan)
Reviewers Become reviewer
Committer
Links
Emails
[PATCH] Release replication slot on error in SQL-callable slot functions
First at 2026-05-09 20:45:37 by SATYANARAYANA NARLAPURAM <satyanarlapuram at gmail.com>
Latest at 2026-08-04 11:33:37 by "Zhijie Hou (Fujitsu)" <houzj.fnst at fujitsu.com>
Latest attachment (v7-0001-Fix-replication-slot-leak-on-error-caught-in-a-su.patch) at 2026-07-30 19:12:00 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com>
    Attachment (v7-0001-Fix-replication-slot-leak-on-error-caught-in-a-su.patch) at 2026-07-30 19:12:00 from Bharath Rupireddy <bharath.rupireddyforpostgres at gmail.com> (Patch: No)
    Attachment (POC_release_slot_subxact_abort.patch) at 2026-06-16 23:27:49 from Masahiko Sawada <sawada.mshk at gmail.com> (Patch: Yes)
    Attachment (v5-0001-Release-replication-slot-on-error-in-slot-SQL-functions.patch) at 2026-05-29 05:11:14 from SATYANARAYANA NARLAPURAM <satyanarlapuram at gmail.com> (Patch: No)
    Attachment (v5-0001-Release-replication-slot-on-error-in-slot-SQL-functions.patch) at 2026-05-28 01:11:16 from SATYANARAYANA NARLAPURAM <satyanarlapuram at gmail.com> (Patch: No)
    Attachment (0001-test-result-changes.patch.txt) at 2026-05-27 10:59:59 from shveta malik <shveta.malik at gmail.com> (Patch: No)
    Attachment (0001-top-up-changes.patch.txt) at 2026-05-27 03:53:54 from shveta malik <shveta.malik at gmail.com> (Patch: No)
    Attachment (v4-0001-Release-replication-slot-on-error-in-slot-SQL-functions.patch) at 2026-05-26 08:11:36 from SATYANARAYANA NARLAPURAM <satyanarlapuram at gmail.com> (Patch: No)
    Attachment (v3-0001-Release-replication-slot-on-error-in-slot-SQL-functions.patch) at 2026-05-25 19:01:37 from SATYANARAYANA NARLAPURAM <satyanarlapuram at gmail.com> (Patch: Yes)
    Attachment (v2-0001-Release-replication-slot-on-error-in-slot-SQL-functions.patch) at 2026-05-25 07:12:34 from SATYANARAYANA NARLAPURAM <satyanarlapuram at gmail.com> (Patch: Yes)
    Attachment (v1-0001-Release-replication-slot-on-error-in-slot-SQL-functions.patch) at 2026-05-09 20:45:37 from SATYANARAYANA NARLAPURAM <satyanarlapuram at gmail.com> (Patch: Yes)
History
When Who What
2026-08-04 23:52:03 Bharath Rupireddy (bharathrupireddy) Attached mail thread CAHg+QDeuf9tCq3ce=kgFMJP0m=PZC+wi6B=yS+7V0vNXjLS31w@mail.gmail.com
2026-08-04 23:52:03 Bharath Rupireddy (bharathrupireddy) Created patch record
Edit