]> piware.de Git - bin.git/blob - cleanpg
cleanpg: clean 8.3
[bin.git] / cleanpg
1 #!/bin/sh
2 sudo /etc/init.d/postgresql-7.4 stop
3 sudo /etc/init.d/postgresql-8.0 stop
4 sudo /etc/init.d/postgresql-8.1 stop
5 sudo /etc/init.d/postgresql-8.2 stop
6 sudo /etc/init.d/postgresql-8.3 stop
7 sudo killall pg_autovacuum postmaster postgres
8 sudo rm -rf /etc/postgresql /var/lib/postgresql/ /var/log/postgresql/ /tmp/postgresql-testsuite/ /var/run/postgresql/*