Make pg_regress clean out the testtablespace directory only on Windows.
authorTom Lane <[email protected]>
Sat, 19 Jan 2008 17:43:42 +0000 (17:43 +0000)
committerTom Lane <[email protected]>
Sat, 19 Jan 2008 17:43:42 +0000 (17:43 +0000)
commitf10589e5f7a9340fc5536fb1ad3e58b0c7cdb2ae
tree27e3537bd55e93e151680560239f4bce144030db
parentaeeef4119e56d7efaac23c38fe130f5f897d985f
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