Honor inputdir and outputdir when converting regression files.
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 17 Mar 2012 21:24:15 +0000 (17:24 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 17 Mar 2012 21:24:15 +0000 (17:24 -0400)
commite3fc4a97bc8ee82a78605b5ffe79bd4cf3c6213b
tree9b3edd708c2f258fa3fb93b9481edff6c336197e
parentced53c38d7a05694bc316229e2332aebd98388aa
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.
src/test/regress/pg_regress.c