Re: [HACKERS] Time to change pg_regress diffs to unified by default?
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Christoph Berg <myon@debian.org>, Noah Misch <noah@leadboat.com>,
Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org
Date: 2019-01-03T11:02:47Z
Lists: pgsql-hackers
Attachments
- regression.diffs.new (text/plain)
- regression.diffs.old (text/plain)
On 02/01/2019 21:44, Tom Lane wrote: > Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes: >> 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. > > I'm confused by this patch. Doesn't moving the diff call like that > break the logic completely? For clarification, I have attached a "before" and "after". -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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