Doc: Fix pg_copy_logical_replication_slot description.
authorAmit Kapila <akapila@postgresql.org>
Tue, 25 Feb 2025 03:52:16 +0000 (09:22 +0530)
committerAmit Kapila <akapila@postgresql.org>
Tue, 25 Feb 2025 03:52:16 +0000 (09:22 +0530)
commit7c906c5b46f8189a04e67bc550cba33dd3851b6e
treeacd38764fdf6a43a1ee9dbe39449d452c74e253f
parent174952ece1c04b725a2eafabf08d7192b99866ca
Doc: Fix pg_copy_logical_replication_slot description.

This commit documents that the failover option is not copied when using
the pg_copy_logical_replication_slot function.

In passing, we modify the comments in the function clarifying the reason
for this behavior.

Reported-by: <duffieldzane@gmail.com>
Author: Hou Zhijie <houzj.fnst@fujitsu.com>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Backpatch-through: 17, where it was introduced
Discussion: https://postgr.es/m/173976850802.682632.11315364077431550250@wrigleys.postgresql.org
doc/src/sgml/func.sgml
src/backend/replication/slotfuncs.c