Make pg_regress clean out the testtablespace directory only on Windows.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 19 Jan 2008 17:43:42 +0000 (17:43 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 19 Jan 2008 17:43:42 +0000 (17:43 +0000)
commit2ae2e9bc3b3bc519141502d68965067c998c5ad1
tree60f71a9e905e751f0f7a2b5f81ecfcb3db674d19
parentf080c1882543886845b8c9d2660a9d057c000d35
Make pg_regress clean out the testtablespace directory only on Windows.
On other platforms it's better to let the Makefile handle it, but we want
the regression tests to be invokable without make on Windows.  A batch
file would be a better solution, but no time for that before 8.3.
Per my discovery that this breaks testing under SELinux, and subsequent
discussion.
src/test/regress/pg_regress.c