Fix pg_checksums progress report
shinya11.kato@nttdata.com
From: <Shinya11.Kato@nttdata.com>
To: <pgsql-hackers@postgresql.org>
Date: 2021-04-02T05:23:32Z
Lists: pgsql-hackers
Attachments
- fix_pg_checksums_progress_report.patch (application/octet-stream) patch
Hi, I found a problem with the pg_checksums.c. The total_size is calculated by scanning the directory. The current_size is calculated by scanning the files, but the current_size does not include the size of NewPages. This may cause pg_checksums progress report to not be 100%. I have attached a patch that fixes this. Regards, Shinya Kato
Commits
-
pg_checksums: Fix progress reporting.
- 24bcce3bd6b4 12.7 landed
- 104164361cb1 13.3 landed
- 2eb1fc8b1ae8 14.0 landed