X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=cleanpg;fp=cleanpg;h=0000000000000000000000000000000000000000;hp=3719c345cc14657c43852ce6524d71e4d7043451;hb=a1dd5c2f15ca3963a02ef946a6707a05c9ddd9ac;hpb=0946ec8751f959d175d1436d190c20893ede3864 diff --git a/cleanpg b/cleanpg deleted file mode 100755 index 3719c34..0000000 --- a/cleanpg +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -[ `id -u` = 0 ] || SUDO=sudo -for v in 7.4 8.0 8.1 8.2 8.3; do - i=/etc/init.d/postgresql-$v - [ -x $i ] && $SUDO $i stop -done -$SUDO killall pg_autovacuum postmaster postgres -$SUDO rm -rf /etc/postgresql /var/lib/postgresql/ /var/log/postgresql/* /tmp/postgresql-testsuite/ /var/run/postgresql/*