blob: 511ffcfc982474cb63e764d493db1db27fe7c9e6 [file] [log] [blame]
#!/usr/bin/env bash
if [ -d "testdata/pgdata" ] && [ -d "testdata/pgsql" ] ; then
pgbin="testdata/pgsql"
${pgbin}/bin/pg_ctl -D testdata/pgdata stop || true
${pgbin}/bin/pg_ctl -D testdata/pgdata2 -o "-p 5555" stop || true
rm -rf testdata/pgdata
rm -rf testdata/pgdata2
fi
rm -rf testdata/pglog