Re: pg_stat_progress_basebackup - progress reporting for pg_basebackup, in the server side
Magnus Hagander <magnus@hagander.net>
From: Magnus Hagander <magnus@hagander.net>
To: Fujii Masao <masao.fujii@oss.nttdata.com>
Cc: "Shinoda, Noriyoshi (PN Japan A&PS Delivery)" <noriyoshi.shinoda@hpe.com>,
Kyotaro Horiguchi <horikyota.ntt@gmail.com>, "amitlangote09@gmail.com" <amitlangote09@gmail.com>, "masahiko.sawada@2ndquadrant.com" <masahiko.sawada@2ndquadrant.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2020-03-05T00:31:47Z
Lists: pgsql-hackers
On Mon, Mar 2, 2020 at 10:03 PM Fujii Masao <masao.fujii@oss.nttdata.com> wrote: > > > > On 2020/03/03 14:37, Shinoda, Noriyoshi (PN Japan A&PS Delivery) wrote: > > Hi, > > > > Thank you for developing good features. > > The attached patch is a small fix to the committed documentation. This patch fixes the description literal for the backup_streamed column. > > Thanks for the report and patch! Pushed. This patch requires, AIUI, that you add -P to the pg_basebackup commandline in order to get the progress tracked in details serverside. But this also generates output in the client that one might not want. Should we perhaps have a switch in pg_basebackup that enables the server side tracking only, without generating output in the client? //Magnus
Commits
-
Report NULL as total backup size if it's not estimated.
- 67e0adfb3f98 13.0 landed
-
Make pg_basebackup ask the server to estimate the total backup size, by default.
- fab13dc50ba5 13.0 landed
-
Report progress of streaming base backup.
- e65497df8f85 13.0 landed