From 81aa5022c09b654c4fc24e24ad59c4012c1ddc19 Mon Sep 17 00:00:00 2001
From: Shlok Kyal <shlok.kyal.oss@gmail.com>
Date: Wed, 19 Feb 2025 12:29:04 +0530
Subject: [PATCH v1] Improve documentation for pg_copy_logical_replication_slot

By default the failover option is not copied when
pg_copy_logical_replication_slot function is used and it is set to false
by default. This patch document the same.
---
 doc/src/sgml/func.sgml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 2548a57df31..b6fa211af8e 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -29369,6 +29369,9 @@ postgres=# SELECT '0/0'::pg_lsn + pd.segment_number * ps.setting::int + :offset
         from the same <acronym>LSN</acronym> as the source logical slot.  Both
         <parameter>temporary</parameter> and <parameter>plugin</parameter> are
         optional; if they are omitted, the values of the source slot are used.
+        The <parameter>failover</parameter> option of source logical slot is
+        not copied and set as <literal>false</literal> by default due to
+        potential issues with the slot synchronization.
        </para></entry>
       </row>
 
-- 
2.34.1

