From: | "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> |
---|---|
To: | 'Masahiko Sawada' <sawada(dot)mshk(at)gmail(dot)com> |
Cc: | "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | RE: pg_recvlogical cannot create slots with failover=true |
Date: | 2025-04-04 03:28:27 |
Message-ID: | OSCPR01MB1496601A6D43958980C6E446EF5A92@OSCPR01MB14966.jpnprd01.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Dear Sawada-san,
> Thank you for updating the patch. Here are some minor comments:
>
> The <option>--two-phase</option> can be specified with
> <option>--create-slot</option> to enable decoding of prepared
> transactions.
> + Also, <option>--falover</option> can be specified with
> + <option>--create-slot</option> to create replication slot which can
> be
> + synchronized to the standby.
>
> How about rewording the whole sentence like:
>
> + The <option>--two-phase</option> and
> <option>--failover</option> options
> + can be specified with <option>--create-slot</option>.
>
> Explaining both options here seems redundant to me.
Fixed.
> ---
> + <para>
> + Allows created replication slot to be synchronized to the standbys.
> + This option may only be specified with
> <option>--create-slot</option>.
> + </para>
>
> How about slightly rewording to like:
>
> + Enables the slot to be synchronized to the standbys. This
> option may only be
> + specified with <option>--create-slot</option>.
Fixed. The description in usage() is adjusted based on this.
> Also, the descriptions of pg_recvlogical options are written in
> alphabetical order. Please put the description for --failover option
> after -E/--endpos.
Right. I put because it had short-term '-o' in old version, but it was removed.
Fixed.
PSA new version.
Best regards,
Hayato Kuroda
FUJITSU LIMITED
Attachment | Content-Type | Size |
---|---|---|
v3-0001-Allow-pg_recvlogical-to-create-slots-with-failove.patch | application/octet-stream | 8.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Amul Sul | 2025-04-04 04:01:01 | Re: Detach partition with constraint test |
Previous Message | Alexander Korotkov | 2025-04-04 03:22:19 | Re: Slot's restart_lsn may point to removed WAL segment after hard restart unexpectedly |