pgsql: Honor inputdir and outputdir when converting regression files.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Honor inputdir and outputdir when converting regression files.
Date: 2012-03-17 21:25:00
Message-ID: E1S917U-0003kr-5Y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Honor inputdir and outputdir when converting regression files.

When converting source files, pg_regress' inputdir and outputdir options were
ignored when computing the locations of the destination files. In consequence,
these options were effectively unusable when the regression inputs need to
be adjusted by pg_regress. This patch makes pg_regress put the converted files
in the same place that these options specify non-converted input or results
files are to be found. Backpatched to all live branches.

Branch
------
REL8_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/206f5b08ec8fcfa6e8d0cb9f6c94d72836dea2cf

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

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2012-03-17 21:25:02 pgsql: Honor inputdir and outputdir when converting regression files.
Previous Message Bruce Momjian 2012-03-17 13:56:59 pgsql: In pg_upgrade, move new echo quote define into include file.