Re: Add progress reporting to pg_verifybackup - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Add progress reporting to pg_verifybackup
Date
Msg-id Y9tUQD3GicQyHAig@paquier.xyz
Whole thread Raw
In response to Re: Add progress reporting to pg_verifybackup  (Masahiko Sawada <sawada.mshk@gmail.com>)
Responses Re: Add progress reporting to pg_verifybackup
List 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

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: heapgettup refactoring
Next
From: Noah Misch
Date:
Subject: Re: run pgindent on a regular basis / scripted manner