]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Update comments atop ReplicationSlotCreate.
authorAmit Kapila <akapila@postgresql.org>
Tue, 6 Jan 2026 05:02:25 +0000 (05:02 +0000)
committerAmit Kapila <akapila@postgresql.org>
Tue, 6 Jan 2026 05:02:25 +0000 (05:02 +0000)
commitc970bdc037f4f35f1ff852b4c032f5fb3f6f6622
tree15d64baf2bb1564cf2db109c5bef18e9b1a9ea3f
parent6ca8506ea59e396b0efa43edf439d4d3c77d8311
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
src/backend/replication/slot.c