Hi Japin,
> After apply the patch, I found pg_checksums.c also has the similar code.
Thanks for noticing it.
> In progress_report(), I'm not sure we can do this replace for this code.
I added the corresponding change as a separate commit so it can be
easily reverted if necessary.
Here is a complete patchset with some additional changes by me.
--
Best regards,
Aleksander Alekseev