On Tuesday, December 16, 2025, PG Doc comments form <[email protected]>
wrote:

> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/18/app-pgverifybackup.html
> Description:
>
> I was disappointed not to find the return code information on the
> pg_verifybackup pages - I am using the utility in a script and it seems I
> cannot distinguish between an invalid or 'bad' backup and a failed run (due
> to e.g. bad path, missing manifest file) - it *seems* that either will
> simply return as 1 but I am not certain. I would like to differentiate
> between these states.
>

This isn’t a good place to request feature enhancements.  There isn’t an
issue with the documentation - the program doesn’t provide multiple
conditional exit codes.

Post a patch to -hackers or a feature request to -general (mailing list).

David J.

Reply via email to