On 2020-03-05 05:53, Fujii Masao wrote:
Or, as another approach, it might be worth considering to make the server always estimate the total backup size whether --progress is specified or not, as Amit argued upthread. If the time required to estimate the backup size is negligible compared to total backup time, IMO this approach seems better. If we adopt this, we can also get rid of PROGESS option from BASE_BACKUP replication command.
I think that would be preferable. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services