Re: [HACKERS] Time to change pg_regress diffs to unified by default?
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Christoph Berg <myon@debian.org>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
Noah Misch <noah@leadboat.com>,
Tom Lane <tgl@sss.pgh.pa.us>,
Andres Freund <andres@anarazel.de>,
pgsql-hackers@postgresql.org
Date: 2019-01-03T10:20:29Z
Lists: pgsql-hackers
> On 3 Jan 2019, at 10:39, Christoph Berg <myon@debian.org> wrote: > > Re: Peter Eisentraut 2019-01-02 <70440c81-37bb-76dd-e48b-b5a9550d5613@2ndquadrant.com> >> While we're considering the pg_regress output, what do you think about >> replacing the ======... separator with a standard diff separator like >> "diff %s %s %s\n". This would make the file behave more like a proper >> diff file, for use with other tools. And it shows the diff options >> used, for clarity. See attached patch. > > It will especially say which _alternate.out file was used, which seems > like a big win. So +1. That has bitten more times than I’d like to admit, so definately +1 on being explicit about that. cheers ./daniel
Commits
-
pg_regress: Don't use absolute paths for the diff
- 1995552deb54 12.0 landed
-
Use standard diff separator for regression.diffs
- 8f27a14b1bd3 12.0 landed