On 23/07/2018 05:58, Tom Lane wrote:
> 013f320dc reminds me of something I check for religiously: look for
> alternative output files for any regression test you're updating the
> output of.
>
> Actually updating said files, once you notice you need to, can be tricky
> in itself. Most of the time it works to just apply the same patch to the
> other variants as the delta you're observing for the output file that's
> relevant to your own platform. Or you may be able to change configuration
> so as to replicate the correct output for another alternative file. But
> sometimes you just have to guess (and then watch the buildfarm to see if
> you guessed right).
There is a recipe for doing this using the "merge" command here:
https://wiki.postgresql.org/wiki/Regression_test_authoring#Updating_an_existing_regression_test
YMMV
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services