summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-04-02 10:58:07 +0900
committerMichael Paquier <michael@paquier.xyz>2019-04-02 10:58:07 +0900
commit280e5f14056bf34a0f52320f659fb93acfda0876 (patch)
tree4021ca3e09de36ac2c5b66bb86d3a96b4b1ccf91 /src/backend/access/gist/gistxlog.c
parent475861b2615dd63ae8431d811749a6f9a15bbfd6 (diff)
downloadpostgresql-280e5f14056bf34a0f52320f659fb93acfda0876.tar.gz
Add progress reporting to pg_checksums
This adds a new option to pg_checksums called -P/--progress, showing every second some information about the computation state of an operation for --check and --enable (--disable only updates the control file and is quick). This requires a pre-scan of the data folder so as the total size of checksummable items can be calculated, and then it gets compared to the amount processed. Similarly to what is done for pg_rewind and pg_basebackup, the information printed in the progress report consists of the current amount of data computed and the total amount of data to compute. This could be extended later on. Author: Michael Banck, Bernd Helmle Reviewed-by: Fabien Coelho, Michael Paquier Discussion: https://postgr.es/m/1535719851.1286.17.camel@credativ.de
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions