]> granicus.if.org Git - postgresql/commit
Honor inputdir and outputdir when converting regression files.
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 17 Mar 2012 21:30:52 +0000 (17:30 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 17 Mar 2012 21:30:52 +0000 (17:30 -0400)
commited79eddba9367f1e35e480e87cbaafc18b9f75ca
tree1102a980388341405b5b0b0e122fb3c63a414c53
parentb6948e15464d7e86c0d892619d9c90c9cfd124f1
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