From c9aeeea90d550cacfd04bfdfb7220de90933798c Mon Sep 17 00:00:00 2001 From: Shlok Kyal Date: Wed, 19 Feb 2025 12:29:04 +0530 Subject: [PATCH v2] 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 df32ee0bf5b..f812e7c69be 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 LSN as the source logical slot. Both temporary and plugin are optional; if they are omitted, the values of the source slot are used. + The failover option of source logical slot is + not copied and is set to false by default to avoid + potential issues with the slot synchronization. -- 2.34.1