On 17 Dec 2025, at 14:20, David G. Johnston <david.g.johnston@gmail.com> wrote:
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).
Absolutely right, that's the best way to propose new (or changes to) features.
The proposed change here seems pretty reasonable and might be as simple as the
(untested) attached, modeled around pg_amcheck. I noticed that pg_amcheck
doesn't document its different return values either which seems like an