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

From Wei Wang (Fujitsu)
Subject Use the enum value CRS_EXPORT_SNAPSHOT instead of "0"
Date
Msg-id OS3PR01MB6275DB83AF4658743B532B1D9E58A@OS3PR01MB6275.jpnprd01.prod.outlook.com
Whole thread Raw
Responses Re: Use the enum value CRS_EXPORT_SNAPSHOT instead of "0"
Re: Use the enum value CRS_EXPORT_SNAPSHOT instead of "0"
List pgsql-hackers
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.

Attach the patch to change this point.

Regards,
Wang wei

Attachment

pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: allow granting CLUSTER, REFRESH MATERIALIZED VIEW, and REINDEX
Next
From: Peter Smith
Date:
Subject: Re: Use the enum value CRS_EXPORT_SNAPSHOT instead of "0"