Skip site navigation (1) Skip section navigation (2)

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:31:05
Message-ID: E1S91DN-0003v9-Kw@gemulon.postgresql.org (view raw or flat)
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
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ed79eddba9367f1e35e480e87cbaafc18b9f75ca

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

pgsql-committers by date

Next:From: Bruce MomjianDate: 2012-03-19 13:32:05
Subject: pgsql: In pg_upgrade, remove dependency on pg_config,as that might not
Previous:From: Andrew DunstanDate: 2012-03-17 21:25:08
Subject: pgsql: Honor inputdir and outputdir when converting regression files.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group