This is useful to know when the data copy has been finished. The current situation can be confusing for users as the last message is "waiting for background process to finish streaming", so it looks like this is taking time but the final sync is instead.
Author: Jeff Janes Discussion: https://postgr.es/m/CAMkU=1ypeoMJ=tFBG8vP13sxEtXd4Pm_x1SqsJdW_RvzpcvN=A@mail.gmail.com
fa7d5b704a Add verbosity to pg_basebackup for sync
src/bin/pg_basebackup/pg_basebackup.c | 3 +++
1 file changed, 3 insertions(+)