Adjust total size in pg_basebackup progress report when reality changes
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%.

ashwinstar/gpdb,oberstet/postgres-xl,snaga/postgres-xl,Postgres-XL/Postgres-XL,xinzweb/gpdb,ovr/postgres-xl,tpostgres-projects/tPostgres,zeroae/postgres-xl,Postgres-XL/Postgres-XL,jmcatamney/gpdb,yazun/postgres-xl,lisakowen/gpdb,ashwinstar/gpdb,tpostgres-projects/tPostgres,lisakowen/gpdb,xinzweb/gpdb,arcivanov/postgres-xl,tpostgres-projects/tPostgres,pavanvd/postgres-xl,pavanvd/postgres-xl,ashwinstar/gpdb,jmcatamney/gpdb,ashwinstar/gpdb,techdragon/Postgres-XL,ashwinstar/gpdb,greenplum-db/gpdb,snaga/postgres-xl,yazun/postgres-xl,greenplum-db/gpdb,arcivanov/postgres-xl,greenplum-db/gpdb,adam8157/gpdb,oberstet/postgres-xl,ashwinstar/gpdb,tpostgres-projects/tPostgres,lisakowen/gpdb,postmind-net/postgres-xl,zeroae/postgres-xl,greenplum-db/gpdb,lisakowen/gpdb,ovr/postgres-xl,lisakowen/gpdb,greenplum-db/gpdb,pavanvd/postgres-xl,adam8157/gpdb,greenplum-db/gpdb,snaga/postgres-xl,techdragon/Postgres-XL,arcivanov/postgres-xl,yazun/postgres-xl,50wu/gpdb,adam8157/gpdb,jmcatamney/gpdb,ovr/postgres-xl,Postgres-XL/Postgres-XL,techdragon/Postgres-XL,postmind-net/postgres-xl,jmcatamney/gpdb,kmjungersen/PostgresXL,oberstet/postgres-xl,50wu/gpdb,50wu/gpdb,jmcatamney/gpdb,xinzweb/gpdb,techdragon/Postgres-XL,Postgres-XL/Postgres-XL,adam8157/gpdb,postmind-net/postgres-xl,50wu/gpdb,greenplum-db/gpdb,lisakowen/gpdb,jmcatamney/gpdb,adam8157/gpdb,techdragon/Postgres-XL,yazun/postgres-xl,kmjungersen/PostgresXL,50wu/gpdb,oberstet/postgres-xl,pavanvd/postgres-xl,50wu/gpdb,zeroae/postgres-xl,xinzweb/gpdb,snaga/postgres-xl,50wu/gpdb,yazun/postgres-xl,oberstet/postgres-xl,kmjungersen/PostgresXL,ashwinstar/gpdb,lisakowen/gpdb,zeroae/postgres-xl,lisakowen/gpdb,50wu/gpdb,ashwinstar/gpdb,kmjungersen/PostgresXL,adam8157/gpdb,arcivanov/postgres-xl,xinzweb/gpdb,arcivanov/postgres-xl,postmind-net/postgres-xl,greenplum-db/gpdb,tpostgres-projects/tPostgres,adam8157/gpdb,postmind-net/postgres-xl,snaga/postgres-xl,jmcatamney/gpdb,adam8157/gpdb,xinzweb/gpdb,ovr/postgres-xl,kmjungersen/PostgresXL,zeroae/postgres-xl,ovr/postgres-xl,Postgres-XL/Postgres-XL,xinzweb/gpdb,xinzweb/gpdb,pavanvd/postgres-xl,arcivanov/postgres-xl,jmcatamney/gpdb