Re: [Patch] add new parameter to pg_replication_origin_session_setup

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>, "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>, shveta malik <shveta.malik@gmail.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>, "Zhijie Hou (Fujitsu)" <houzj.fnst@fujitsu.com>, Doruk Yilmaz <doruk@mixrank.com>
Date: 2026-03-25T02:45:37Z
Lists: pgsql-hackers
On Mon, Feb 16, 2026 at 02:22:57PM +0530, Amit Kapila wrote:
> Heikki, would you like to take care of improvements proposed by you?
> Otherwise, I am happy to take care of them.

This thread has stalled.  Heikki, Amit, are there any actions planned
by the end of the release cycle?
--
Michael

Commits

  1. Refactor replorigin_session_setup() for better readability.

  2. Prevent unintended dropping of active replication origins.

  3. Add optional pid parameter to pg_replication_origin_session_setup().