Re: rename SnapBuild* macros in slot.c

2021-11-24 Thread Amit Kapila
On Tue, Nov 23, 2021 at 8:12 AM Amit Kapila wrote: > > On Mon, Nov 22, 2021 at 7:47 PM Alvaro Herrera > wrote: > > > > On 2021-Nov-22, Amit Kapila wrote: > > > > > +1 for this change. This seems to be introduced by commit ec5896aed3 > > > [1] and I think it is just a typo to name these macros st

Re: rename SnapBuild* macros in slot.c

2021-11-22 Thread Amit Kapila
On Mon, Nov 22, 2021 at 7:47 PM Alvaro Herrera wrote: > > On 2021-Nov-22, Amit Kapila wrote: > > > +1 for this change. This seems to be introduced by commit ec5896aed3 > > [1] and I think it is just a typo to name these macros starting with > > SnapBuildOnDisk* unless I am missing something. > > Y

Re: rename SnapBuild* macros in slot.c

2021-11-22 Thread Alvaro Herrera
On 2021-Nov-22, Amit Kapila wrote: > +1 for this change. This seems to be introduced by commit ec5896aed3 > [1] and I think it is just a typo to name these macros starting with > SnapBuildOnDisk* unless I am missing something. Yeah, it looks pretty weird. +1 for the change on consistency grounds

Re: rename SnapBuild* macros in slot.c

2021-11-22 Thread Amit Kapila
On Sat, Nov 20, 2021 at 7:43 PM Bharath Rupireddy wrote: > > It seems like the same macro names for > SnapBuildOnDiskNotChecksummedSize and SnapBuildOnDiskChecksummedSize > are being used in slot.c and snapbuild.c. I think, in slot.c, we can > rename them to ReplicationSlotOnDiskNotChecksummedSize

rename SnapBuild* macros in slot.c

2021-11-20 Thread Bharath Rupireddy
Hi, It seems like the same macro names for SnapBuildOnDiskNotChecksummedSize and SnapBuildOnDiskChecksummedSize are being used in slot.c and snapbuild.c. I think, in slot.c, we can rename them to ReplicationSlotOnDiskNotChecksummedSize and ReplicationSlotOnDiskChecksummedSize similar to the other