Re: [HACKERS] Time to change pg_regress diffs to unified by default? - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: [HACKERS] Time to change pg_regress diffs to unified by default?
Date
Msg-id FADC3FB8-D1D7-478B-BA79-5B3EAD86B1F7@yesql.se
Whole thread Raw
In response to Re: [HACKERS] Time to change pg_regress diffs to unified by default?  (Christoph Berg <myon@debian.org>)
Responses Re: [HACKERS] Time to change pg_regress diffs to unified by default?  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List 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

pgsql-hackers by date:

Previous
From: Christoph Berg
Date:
Subject: Re: [HACKERS] Time to change pg_regress diffs to unified by default?
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Time to change pg_regress diffs to unified by default?