]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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)
commitc0998cfa53051eebbda90f2ca8d9058938c5e005
treeceae83f6c8beceba93eebb1d423bed934709e615
parent5d492502ac29f4d2db41bafc68ae7e7615a7fb5f
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