Re: pg_copy_logical_replication_slot doesn't copy the failover property
Masahiko Sawada <sawada.mshk@gmail.com>
From: Masahiko Sawada <sawada.mshk@gmail.com>
To: Shlok Kyal <shlok.kyal.oss@gmail.com>
Cc: Nisha Moond <nisha.moond412@gmail.com>, duffieldzane@gmail.com, pgsql-docs@lists.postgresql.org
Date: 2025-02-20T17:48:59Z
Lists: pgsql-hackers, pgsql-docs
On Wed, Feb 19, 2025 at 8:25 PM Shlok Kyal <shlok.kyal.oss@gmail.com> wrote: > > On Thu, 20 Feb 2025 at 09:39, Nisha Moond <nisha.moond412@gmail.com> wrote: > > > > On Wed, Feb 19, 2025 at 12:40 PM Shlok Kyal <shlok.kyal.oss@gmail.com> wrote: > > > Hi, > > > > > > The failover option is set to false by default while copying of the > > > slots as it may cause some issue during slot synchronization as per > > > discussion [1]. > > > > > > I have created a patch to update the documentation for the same. > > > > > > > Thanks for the patch. > > A couple of comments regarding the sentence: > > > > + not copied and set as <literal>false</literal> by default due to > > + potential issues with the slot synchronization. > > > > 1) / and set as/ and is set to > > "set to" is more natural and clearer when assigning a specific value > > compared to "set as." > > > > 2) "due to potential issues..." wording implies that it is addressing > > existing issues. I feel it would be better to say: > > "... <literal>false</literal> by default to avoid potential issues > > with the slot synchronization." > > > > Hi Nisha, > > I have addressed the comments and attached the updated v2 patch. IIUC the two_phase field is also not copied from the source slot. I think we can clarify in the doc that these two fields are not copied. Regards, -- Masahiko Sawada Amazon Web Services: https://aws.amazon.com
Commits
-
Doc: Fix pg_copy_logical_replication_slot description.
- 5b8f2ccc0a93 18.0 landed
- 7c906c5b46f8 17.5 landed
-
Add option to enable two_phase commits via pg_create_logical_replication_slot.
- 19890a064ebf 14.0 cited