aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/cluster.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2011-08-16 16:56:47 +0200
committerMagnus Hagander <magnus@hagander.net>2011-08-16 16:58:58 +0200
commit1bb69245ab234634013c543927e6fa76009622fa (patch)
tree9e5ba9a6092ee1cd6c75dbe6df7c694ea8da75a4 /src/backend/commands/cluster.c
parent2877c67bc24510c30bca477c876f5de427c85588 (diff)
downloadpostgresql-1bb69245ab234634013c543927e6fa76009622fa.tar.gz
postgresql-1bb69245ab234634013c543927e6fa76009622fa.zip
Adjust total size in pg_basebackup progress report when reality changes
When streaming including WAL, the size estimate will always be incorrect, since we don't know how much WAL is included. To make sure the output doesn't look completely unreasonable, this patch increases the total size whenever we go past the estimate, to make sure we never go above 100%.
Diffstat (limited to 'src/backend/commands/cluster.c')
0 files changed, 0 insertions, 0 deletions