pgsql: pg_regress: Don't use absolute paths for the diff - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: pg_regress: Don't use absolute paths for the diff
Date
Msg-id E1gwsel-0000LT-G0@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: pg_regress: Don't use absolute paths for the diff  (Peter Geoghegan <pg@bowt.ie>)
List pgsql-committers
pg_regress: Don't use absolute paths for the diff

Don't expand inputfile and outputfile to absolute paths globally, just
where needed.  In particular, pass them as is to the file name
arguments of the diff command, so that we don't see the full absolute
path in the diff header, which makes the diff unnecessarily verbose
and harder to read.

Discussion: https://www.postgresql.org/message-id/0cc82900-c457-1cee-3ab2-7b0f5d215061@2ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1995552deb5479a50ec9044f0179f906ff7772e0

Modified Files
--------------
src/test/regress/pg_regress.c | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Move code for managing PartitionDescs into a new file,partdesc.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Add security information about pg_stat_activity