Introduce a new GUC to allow logical walsender to shutdown immediately without waiting for a response from the client.

Edit
ID 6234
Title Introduce a new GUC to allow logical walsender to shutdown immediately without waiting for a response from the client.
CI (CFBot) Summary
Stats (from CFBot) Patch version: v2, Patch count: 1, First patch: +235−0, All patches: +235−0
Topic Replication & Recovery
Tags Backport GUC Logical Replication
Created 2025-11-18 16:00:06
Last modified 2025-11-28 07:37:28 (1 week ago)
Latest email 2025-11-27 10:19:13 (1 week ago)
Status
PG19-4 (2026-01-01 – 2026-01-31): Needs review
Target version
Authors Andrey Silitskiy (andrey-silitskiy)
Reviewers Fujii Masao (masaofujii)Become reviewer
Committer
Links
Emails
Exit walsender before confirming remote flush in logical replication
First at 2022-12-22 05:46:11 by "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com>
Latest at 2025-11-27 10:19:13 by Andrey Silitskiy <a.silitskiy at postgrespro.ru>
Latest attachment (v2-0001-Introduce-a-new-GUC-wal_sender_shutdown_mode.patch) at 2025-11-27 10:19:13 from Andrey Silitskiy <a.silitskiy at postgrespro.ru>
    Attachment (v2-0001-Introduce-a-new-GUC-wal_sender_shutdown_mode.patch) at 2025-11-27 10:19:13 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (0001-Introduce-a-new-GUC-logical_wal_sender_shutdown_mode.patch) at 2025-11-18 10:32:01 from Andrey Silitskiy <a.silitskiy at postgrespro.ru> (Patch: Yes)
    Attachment (v7-0001-Time-delayed-logical-replication-subscriber.patch) at 2023-02-10 11:54:01 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v6-0001-Time-delayed-logical-replication-subscriber.patch) at 2023-02-09 10:11:10 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v5-0001-Time-delayed-logical-replication-subscriber.patch) at 2023-02-08 09:47:08 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v4-0001-Time-delayed-logical-replication-subscriber.patch) at 2023-02-08 08:01:24 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v3-0001-Time-delayed-logical-replication-subscriber.patch) at 2023-02-07 17:08:54 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v2-0001-Time-delayed-logical-replication-subscriber.patch) at 2023-02-07 16:07:07 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (0001-Time-delayed-logical-replication-subscriber.patch) at 2023-02-07 14:41:13 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v6-0001-Exit-walsender-before-confirming-remote-flush-in-.patch) at 2023-02-03 12:08:48 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v5-0001-Exit-walsender-before-confirming-remote-flush-in-.patch) at 2023-01-19 08:37:47 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v4-0001-Exit-walsender-before-confirming-remote-flush-in-.patch) at 2023-01-16 11:09:24 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (test_phy.sh) at 2023-01-16 11:08:30 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: No)
    Attachment (v3-0001-Exit-walsender-before-confirming-remote-flush-in-.patch) at 2022-12-28 02:47:56 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (v2-0001-Exit-walsender-before-confirming-remote-flush-in-.patch) at 2022-12-27 08:14:13 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
    Attachment (0001-Exit-walsender-before-confirming-remote-flush-in-log.patch) at 2022-12-22 05:46:11 from "Hayato Kuroda (Fujitsu)" <kuroda.hayato at fujitsu.com> (Patch: Yes)
History
When Who What
2025-11-28 07:37:28 Andrey Silitskiy (andrey-silitskiy) New status: Needs review
2025-11-27 10:38:33 CFbot Patch does not need rebase anymore
2025-11-26 08:06:40 Vitaly Davydov (vitprof) Changed authors to Andrey Silitskiy (andrey-silitskiy)
2025-11-20 16:11:22 CFbot Patch needs rebase
2025-11-19 13:03:44 Fujii Masao (masaofujii) New status: Waiting on Author
2025-11-19 13:03:32 Fujii Masao (masaofujii) Added masaofujii as reviewer
2025-11-18 16:02:37 Vitaly Davydov (vitprof) Changed name to Introduce a new GUC to allow logical walsender to shutdown immediately without waiting for a response from the client.
2025-11-18 16:00:06 Vitaly Davydov (vitprof) Attached mail thread TYAPR01MB586668E50FC2447AD7F92491F5E89@TYAPR01MB5866.jpnprd01.prod.outlook.com
2025-11-18 16:00:06 Vitaly Davydov (vitprof) Created patch record
Edit