Re: Use the enum value CRS_EXPORT_SNAPSHOT instead of "0" - Mailing list pgsql-hackers

From Peter Smith
Subject Re: Use the enum value CRS_EXPORT_SNAPSHOT instead of "0"
Date
Msg-id CAHut+Pv89P8p_yzwLmg-sTYKGSjDXEqvJreTg4CVtuqpg9MW1g@mail.gmail.com
Whole thread Raw
In response to Use the enum value CRS_EXPORT_SNAPSHOT instead of "0"  ("Wei Wang (Fujitsu)" <wangw.fnst@fujitsu.com>)
List pgsql-hackers
On Fri, Jun 16, 2023 at 4:10 PM Wei Wang (Fujitsu)
<wangw.fnst@fujitsu.com> wrote:
>
> Hi,
>
> In the function WalReceiverMain, when the function walrcv_create_slot is called,
> the fourth parameter is assigned the value "0" instead of the enum value
> "CRS_EXPORT_SNAPSHOT". I think it would be better to use the corresponding enum
> value.
>

+1

------
Kind Regards,
Peter Smith.
Fujitsu Australia



pgsql-hackers by date:

Previous
From: "Wei Wang (Fujitsu)"
Date:
Subject: Use the enum value CRS_EXPORT_SNAPSHOT instead of "0"
Next
From: Michael Paquier
Date:
Subject: Re: Support to define custom wait events for extensions