pgsql: pg_regress: Don't use absolute paths for the diff

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: pg_regress: Don't use absolute paths for the diff
Дата
Msg-id E1gwsel-0000LT-G0@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: pg_regress: Don't use absolute paths for the diff
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Move code for managing PartitionDescs into a new file,partdesc.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: doc: Add security information about pg_stat_activity