Re: pg_copy_logical_replication_slot doesn't copy the failover property

From: Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>
To: Nisha Moond <nisha(dot)moond412(at)gmail(dot)com>
Cc: duffieldzane(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: pg_copy_logical_replication_slot doesn't copy the failover property
Date: 2025-02-20 04:24:52
Message-ID: CANhcyEVmK0apV4+YZ0f7ZNfOOZT0ZZhfVWUdW-1fNFUvsam1gA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

On Thu, 20 Feb 2025 at 09:39, Nisha Moond <nisha(dot)moond412(at)gmail(dot)com> wrote:
>
> On Wed, Feb 19, 2025 at 12:40 PM Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)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.

Thanks and Regards,
Shlok Kyal

Attachment Content-Type Size
v2-0001-Improve-documentation-for-pg_copy_logical_replica.patch application/octet-stream 1.2 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2025-02-20 16:38:43 Re: Second paragraph a little bit misleading
Previous Message Robert Treat 2025-02-20 04:15:38 Re: Streaming Replication vs Logical

Browse pgsql-hackers by date

  From Date Subject
Next Message Gayatri Singh 2025-02-20 04:34:58 DB Restarting daily at midnight
Previous Message Thomas Munro 2025-02-20 04:16:01 Re: Commitfest app release on Feb 17 with many improvements