Re: Add progress reporting to pg_verifybackup
Masahiko Sawada <sawada.mshk@gmail.com>
From: Masahiko Sawada <sawada.mshk@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2023-02-02T08:56:47Z
Lists: pgsql-hackers
Attachments
- v3-0001-Add-progress-reporting-to-pg_verifybackup.patch (application/octet-stream) patch v3-0001
On Thu, Feb 2, 2023 at 3:12 PM Michael Paquier <michael@paquier.xyz> wrote: > > On Thu, Feb 02, 2023 at 02:57:44PM +0900, Masahiko Sawada wrote: > > It seems that the --progress option doesn't work with command_like() > > since the progress information is written in stderr but command_like() > > doesn't want it. > > What about command_checks_all()? It should check for stderr, stdout > as well as the expected error code. Seems a good idea. Please find an attached patch. Regards, -- Masahiko Sawada Amazon Web Services: https://aws.amazon.com
Commits
-
Add support for progress reporting to pg_verifybackup
- d07c2948bfe5 16.0 landed