aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2020-03-19 17:09:00 +0900
committerFujii Masao <fujii@postgresql.org>2020-03-19 17:09:00 +0900
commitfab13dc50ba5e7a12b474a7366024681bc169ac8 (patch)
tree209273b0ab152b4564e839ef22fd101969a43c1e /src/backend/utils/adt/json.c
parentc314c147c0563c9758bdad988ffda8d64daa2db6 (diff)
downloadpostgresql-fab13dc50ba5e7a12b474a7366024681bc169ac8.tar.gz
postgresql-fab13dc50ba5e7a12b474a7366024681bc169ac8.zip
Make pg_basebackup ask the server to estimate the total backup size, by default.
This commit changes pg_basebackup so that it specifies PROGRESS option in BASE_BACKUP replication command whether --progress is specified or not. This causes the server to estimate the total backup size and report it in pg_stat_progress_basebackup.backup_total, by default. This is reasonable default because the time required for the estimation would not be so large in most cases. Also this commit adds new option --no-estimate-size to pg_basebackup. This option prevents the server from the estimation, and so is useful to avoid such estimation time if it's too long. Author: Fujii Masao Reviewed-by: Magnus Hagander, Amit Langote Discussion: https://postgr.es/m/CABUevEyDPPSjP7KRvfTXPdqOdY5aWNkqsB5aAXs3bco5ZwtGHg@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions