Re: Add progress reporting to pg_verifybackup

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2023-02-02T06:12:16Z
Lists: pgsql-hackers
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.
--
Michael

Commits

  1. Add support for progress reporting to pg_verifybackup