On Mon, 21 Mar 2022 at 20:40, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> On Mon, 2022-03-21 at 18:09 +0800, Japin Li wrote:
>> After apply the patch, I found pg_checksums.c also has the similar code.
>>
>> In progress_report(), I'm not sure we can do this replace for this code.
>>
>> snprintf(total_size_str, sizeof(total_size_str), INT64_FORMAT,
>> total_size / (1024 * 1024));
>> snprintf(current_size_str, sizeof(current_size_str), INT64_FORMAT,
>> current_size / (1024 * 1024));
>>
>> fprintf(stderr, _("%*s/%s MB (%d%%) computed"),
>> (int) strlen(current_size_str), current_size_str, total_size_str,
>> percent);
>
> I think you replied to the wrong thread...
>
I'm sorry! There is a problem with my email client and I didn't notice the
subject of the reply email.
Again, sorry for the noise!
--
Regrads,
Japin Li.
ChengDu WenWu Information Technology Co.,Ltd.