diff options
| author | Amit Kapila | 2025-02-25 04:12:07 +0000 |
|---|---|---|
| committer | Amit Kapila | 2025-02-25 04:12:07 +0000 |
| commit | 5b8f2ccc0a93375acb64a457817e61f400404a1f (patch) | |
| tree | ed3312e21230ca9524c6d63535e1f5b902e75464 /doc | |
| parent | 15601fa21a5509b83a871c39ab98671f560da905 (diff) | |
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: <[email protected]>
Author: Hou Zhijie <[email protected]>
Reviewed-by: Amit Kapila <[email protected]>
Backpatch-through: 17, where it was introduced
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/src/sgml/func.sgml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 21a8ea42f5f..f0ccb751106 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -29374,6 +29374,10 @@ 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 <literal>failover</literal> option of the source logical slot + is not copied and is set to <literal>false</literal> by default. This + is to avoid the risk of being unable to continue logical replication + after failover to standby where the slot is being synchronized. </para></entry> </row> |
