On Mon, 6 Apr 2026 at 09:56, Илья Чердаков <[email protected]> wrote: > I'd like to add a environment variable to the patch to > disable diff output. Sometimes you have to be creative > with exploratory testing, modifying test files, etc., > and multiple diff outputs can become a nuisance. This > doesn't change the default behavior, but it does give > you control over diff output in tests for specific > scenarios where a large number of failures are expected > (mass runs or exploratory testing with changing tests).
I'm fine with adding the abilitity to configure what pg_regress should print, but it's unclear to me what's special about the diff output compared to all the other output? i.e. what is the output you would actually like to see for your use case? Piping everything to /dev/null would silence all output except for the exit code, but I guess you want some output. i.e. what do you do with the output that you get? Do you only want to know which tests failed? If so, do you care about which tests are passing?
