Re: Use the enum value CRS_EXPORT_SNAPSHOT instead of "0"

From: Peter Smith <smithpb2250(at)gmail(dot)com>
To: "Wei Wang (Fujitsu)" <wangw(dot)fnst(at)fujitsu(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Use the enum value CRS_EXPORT_SNAPSHOT instead of "0"
Date: 2023-06-16 06:45:17
Message-ID: CAHut+Pv89P8p_yzwLmg-sTYKGSjDXEqvJreTg4CVtuqpg9MW1g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jun 16, 2023 at 4:10 PM Wei Wang (Fujitsu)
<wangw(dot)fnst(at)fujitsu(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2023-06-16 07:46:33 Re: Support to define custom wait events for extensions
Previous Message Wei Wang (Fujitsu) 2023-06-16 06:10:10 Use the enum value CRS_EXPORT_SNAPSHOT instead of "0"