pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Update comments atop ReplicationSlotCreate.
Date: Tue, 06 Jan 2026 05:11:17 +0000
Message-ID: <E1vczLg-004mb0-0A@gemulon.postgresql.org> (raw)

Update comments atop ReplicationSlotCreate.

Since commit 1462aad2e4, which introduced the ability to modify the
two_phase property of a slot, the comments above ReplicationSlotCreate
have become outdated. We have now added a cautionary note in the comments
above ReplicationSlotAlter explaining when it is safe to modify the
two_phase property of a slot.

Author: Daniil Davydov <3danissimo@gmail.com>
Author: Amit Kapila <amit.kapila16@gmail.com>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Backpatch-through: 18
Discussion: https://postgr.es/m/CAJDiXggZXQZ7bD0QcTizDt6us9aX6ZKK4dWxzgb5x3+TsVHjqQ@mail.gmail.com

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/aa40615cc99211db70429ebbc4c8a1549dcc06ae

Modified Files
--------------
src/backend/replication/slot.c | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1vczLg-004mb0-0A@gemulon.postgresql.org>
Permalink:  ../E1vczLg-004mb0-0A@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vczLg-004mb0-0A@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Update comments atop ReplicationSlotCreate.
  In-Reply-To: <E1vczLg-004mb0-0A@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox